[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / pr40172-2.c
blob17aabb8b5f32bc468668018e921c842a694eaf96
1 /* PR middle-end/40172 */
2 /* { dg-do compile } */
3 /* { dg-options "-Wall -W -Werror" } */
5 extern int xxx;
7 #define XXX xxx
9 int
10 test (void)
12 if (!XXX && xxx)
13 return 4;
14 else
15 return 0;