This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
6
unikernel/duniverse/cppo/test/expect_ident.cppo
Normal file
6
unikernel/duniverse/cppo/test/expect_ident.cppo
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
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. *)
|
||||
Loading…
Add table
Add a link
Reference in a new issue