Add some more preprocessor tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
04c3e6b7d3
commit
b0609c3be2
5 changed files with 51 additions and 1 deletions
20
Examples/test-suite/errors/pp_illegal_argument.i
Normal file
20
Examples/test-suite/errors/pp_illegal_argument.i
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
%module xxx
|
||||
|
||||
|
||||
%define MISSING_DOT1(a,
|
||||
b,
|
||||
..)
|
||||
xxx
|
||||
%enddef
|
||||
|
||||
%define MISSING_DOT2(..)
|
||||
xxx
|
||||
%enddef
|
||||
|
||||
%define BAD_ARGNAME(
|
||||
a,
|
||||
b{c
|
||||
)
|
||||
xxx
|
||||
%enddef
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue