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