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:
William S Fulton 2010-09-06 18:25:22 +00:00
commit b2e2cb8f66
2 changed files with 11 additions and 0 deletions

View file

@ -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

View 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)