summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/960419-1.c
blob: 68bd2b97dd12debcb55c1c53e3930df4db14945d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
static int i;

void
check(x)
     int x;
{
  if (!x)
    abort();
}

main()
{
  int *p = &i;

  check(p != (void *)0);
  exit (0);
}