PageRenderTime 4ms CodeModel.GetById 2ms app.highlight 0ms RepoModel.GetById 1ms 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
 1// Test "Unexpected tokens after ..." errors
 2%module xxx
 3
 4#ifndef AAA
 5#endif rubbish
 6
 7#ifdef AAA
 8#endif rubbish
 9
10#ifdef AAA
11#else rubbish
12#endif
13
14#define BBB
15
16#ifdef BBB
17#else
18#endif rubbish
19
20#if !defined(BBB)
21#else rubbish
22#endif
23