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