1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/* PR middle-end/40172 */ /* { dg-do compile */ /* { dg-xfail-if "" { "*-*-*" } { "*" } { "" } } */ /* { dg-options "-Wall -W -Werror -Wlogical-op" } */ extern int xxx; #define XXX xxx int test (void) { if (!XXX && xxx) return 4; else return 0; }