mte/unikernel/duniverse/cppo/test/shape_mismatch.cppo
2025-11-11 02:07:51 +01:00

5 lines
143 B
Text

#define FOO 24
#define APPLY(F : [.], X) F(X)
APPLY(FOO, 42)
(* invalid because APPLY expects a macro of type [.]
but FOO has type . *)