gcc/testsuite/gcc.dg/cpp/maccom3.c
raw| 1 | /* { dg-do preprocess } */ |
| 2 | /* { dg-options "-CC" } */ |
| 3 | |
| 4 | /* This tests to make sure that comments in the definition of a macro |
| 5 | parameter list are ignored when the -CC option is used. |
| 6 | |
| 7 | Jason R. Thorpe, 6 Apr 2002 */ |
| 8 | |
| 9 | #define def(x /**/, y) passed |
| 10 | |
| 11 | def(x,y) |
| 12 | |
| 13 | /* { dg-final { scan-file maccom3.i "(^|\n)passed" } } */ |