PageRenderTime 45ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
Swig | 23 lines | 16 code | 7 blank | 0 comment | 0 complexity | a515cab534ae54bf3eb2fd27d2197a3e MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. // Test "Unexpected tokens after ..." errors
  2. %module xxx
  3. #ifndef AAA
  4. #endif rubbish
  5. #ifdef AAA
  6. #endif rubbish
  7. #ifdef AAA
  8. #else rubbish
  9. #endif
  10. #define BBB
  11. #ifdef BBB
  12. #else
  13. #endif rubbish
  14. #if !defined(BBB)
  15. #else rubbish
  16. #endif