mte/unikernel/duniverse/cppo/test/expect_ident.cppo

7 lines
190 B
Text
Raw Normal View History

2025-11-11 02:07:51 +01:00
let id x = x
#define ID(X) X
#define APPLY(F : [.], X) F(X)
APPLY(ID(id), 42)
(* invalid because APPLY expects a macro as an argument:
ID would be a valid argument; ID(id) is not. *)