Add regression test for #217
This commit is contained in:
parent
682b4dd843
commit
02b10195fc
2 changed files with 10 additions and 0 deletions
9
Examples/test-suite/errors/pp_unknowndirective2.i
Normal file
9
Examples/test-suite/errors/pp_unknowndirective2.i
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
%module xxx
|
||||
|
||||
#ifdef FOO
|
||||
long long i;
|
||||
#elsif defined(BAR)
|
||||
long i;
|
||||
#else
|
||||
int i;
|
||||
#endif
|
||||
1
Examples/test-suite/errors/pp_unknowndirective2.stderr
Normal file
1
Examples/test-suite/errors/pp_unknowndirective2.stderr
Normal file
|
|
@ -0,0 +1 @@
|
|||
pp_unknowndirective2.i:5: Error: Unknown SWIG preprocessor directive: elsif
|
||||
Loading…
Add table
Add a link
Reference in a new issue