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

# · Swig · 22 lines · 15 code · 7 blank · 0 comment · 0 complexity · 1e81d5c70c85bb20ac89e0b347436f0a MD5 · raw file

  1. // Test "Missing identifier for ..." errrors
  2. %module xxx
  3. #ifdef
  4. #endif
  5. #ifndef
  6. #endif
  7. #if
  8. #endif
  9. #if defined(AAA)
  10. #elif
  11. #endif
  12. #define BBB
  13. #if !defined(BBB)
  14. #elif
  15. #endif