Add regression test for #217

This commit is contained in:
Olly Betts 2015-01-12 22:33:15 +13:00
commit 02b10195fc
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,9 @@
%module xxx
#ifdef FOO
long long i;
#elsif defined(BAR)
long i;
#else
int i;
#endif

View file

@ -0,0 +1 @@
pp_unknowndirective2.i:5: Error: Unknown SWIG preprocessor directive: elsif