Add test for line number reporting for multiple macro expansions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12205 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
46bd4a26c6
commit
b2e2cb8f66
2 changed files with 11 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ pp_macro_defined_unterminated
|
|||
pp_illegal_argument
|
||||
pp_macro_args
|
||||
pp_macro_badchar
|
||||
pp_macro_expansion
|
||||
pp_macro_nargs
|
||||
pp_macro_redef
|
||||
pp_macro_rparen
|
||||
|
|
|
|||
10
Examples/test-suite/errors/pp_macro_expansion.i
Normal file
10
Examples/test-suite/errors/pp_macro_expansion.i
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
%module xxx
|
||||
|
||||
/* Test line number reporting for multiple macro expansions */
|
||||
|
||||
#define MACRO2(a, b)
|
||||
|
||||
#define MACRO1(NAME) MACRO2(NAME,2,3)
|
||||
|
||||
MACRO1(abc)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue