/trunk/Examples/test-suite/errors/pp_macro_expansion.i

# · Swig · 10 lines · 4 code · 5 blank · 1 comment · 0 complexity · 32c9a717d81a9f73c533cabc8434bffc MD5 · raw file

  1. %module xxx
  2. /* Test line number reporting for multiple macro expansions */
  3. #define MACRO2(a, b)
  4. #define MACRO1(NAME) MACRO2(NAME,2,3)
  5. MACRO1(abc)