summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/960116-1.c
blob: 6d7624ca1a19042bae3538a46a242768add3692d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
static inline
p (int *p)
{
  return !((long) p & 1);
}

int
f (int *q)
{
  if (p (q) && *q)
    return 1;
  return 0;
}

main ()
{
  if (f ((int*) 0xffffffff) != 0)
    abort ();
  exit (0);
}