summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr40172-2.c
blob: 17aabb8b5f32bc468668018e921c842a694eaf96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* PR middle-end/40172 */
/* { dg-do compile } */
/* { dg-options "-Wall -W -Werror" } */

extern int xxx;

#define XXX xxx

int
test (void)
{
  if (!XXX && xxx)
    return 4;
  else
    return 0;
}