2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 920922-1.c
blob4fae192bb90d94133f163bdf74def8b18144c3cd
1 unsigned long*
2 f(p)unsigned long*p;
4 unsigned long a = (*p++) >> 24;
5 return p + a;
8 main ()
10 unsigned long x = 0x80000000UL;
11 if (f(&x) != &x + 0x81)
12 abort();
13 exit(0);