2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 990923-1.c
blob4f4e87abcf443f53a6f02218d1806547b6d358c1
1 #define mask 0xffff0000L
2 #define value 0xabcd0000L
4 long
5 foo (long x)
7 if ((x & mask) == value)
8 return x & 0xffffL;
9 return 1;
12 int
13 main (void)
15 if (foo (value) != 0 || foo (0) != 1)
16 abort ();
18 exit (0);