File: expect_ident_empty.cppo

package info (click to toggle)
cppo 1.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 588 kB
  • sloc: ml: 2,133; makefile: 54; sh: 11
file content (6 lines) | stat: -rw-r--r-- 173 bytes parent folder | download
1
2
3
4
5
6
let id x = x
#define ID(X) X
#define APPLY(F : [.], X) F(X)
APPLY(, 42)
  (* invalid because APPLY expects a macro as an argument:
     an empty argument is not allowed. *)