summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/cmdlne-dU-22.c
blob: 383a29f85e825b41926255281cb3d412ef40d1a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do preprocess } */
/* { dg-options "-P -dU" } */
/* { dg-final { scan-file cmdlne-dU-22.i "^\n*#undef AAA\n+AAA is undefined\n+#undef BBB\n+BBB is undefined\n+#undef CCC\n+CCC is undefined\n*$" } } */
#ifndef AAA
AAA is undefined
#endif

#ifndef BBB
BBB is undefined
#endif

#ifndef CCC
CCC is undefined
#endif