mte/unikernel/duniverse/cppo/test/shape_mismatch.cppo

6 lines
143 B
Text
Raw Normal View History

2025-11-11 02:07:51 +01:00
#define FOO 24
#define APPLY(F : [.], X) F(X)
APPLY(FOO, 42)
(* invalid because APPLY expects a macro of type [.]
but FOO has type . *)