gcc/testsuite/gcc.dg/cpp/maccom2.c
raw| 1 | /* { dg-do preprocess } */ |
| 2 | /* { dg-options "-CC" } */ |
| 3 | |
| 4 | /* This tests to make sure that comments between the #define directive |
| 5 | and the macro identifier are ignored (i.e. treated like whitespace) |
| 6 | when the -CC option is used. |
| 7 | |
| 8 | Jason R. Thorpe, 6 Apr 2002 */ |
| 9 | |
| 10 | #define/**/def passed |
| 11 | |
| 12 | def |
| 13 | |
| 14 | /* { dg-final { scan-file maccom2.i "(^|\n)passed" } } */ |