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