gcc/testsuite/gcc.dg/cpp/cmdlne-dU-21.c
raw| 1 | /* { dg-do preprocess } */ |
| 2 | /* { dg-options "-nostdinc -P -dU" } */ |
| 3 | /* { dg-final { scan-file cmdlne-dU-21.i "^\n*hello There\n+#define ASTRING There\n+#define MACROARGS\\(A\\) A\n+#undef BSTRING\n*$" } } */ |
| 4 | #define ASTRING There |
| 5 | #define MACROARGS(A) A |
| 6 | MACROARGS(hello) ASTRING |
| 7 | #ifdef BSTRING |
| 8 | bye |
| 9 | #endif |