diff options
Diffstat (limited to 'Examples/test-suite/errors/pp_macro_nargs.i')
| -rw-r--r-- | Examples/test-suite/errors/pp_macro_nargs.i | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Examples/test-suite/errors/pp_macro_nargs.i b/Examples/test-suite/errors/pp_macro_nargs.i new file mode 100644 index 0000000..15e4348 --- /dev/null +++ b/Examples/test-suite/errors/pp_macro_nargs.i @@ -0,0 +1,16 @@ +%module xxx + +#define foo(a,x) a x +#define bar(x) x +#define spam() /**/ + +foo(3) +foo(3,4,5) +bar() +bar(2,3) +spam(1) + + + + + |
