PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr37931.c
blob0077a21ba33e4a8cf7cee4201e8e9d92a673f238
1 /* PR middle-end/37931 */
3 extern void abort (void);
5 int
6 foo (int a, unsigned int b)
8 return (a | 1) & (b | 1);
11 int
12 main (void)
14 if (foo (6, 0xc6) != 7)
15 abort ();
16 if (foo (0x80, 0xc1) != 0x81)
17 abort ();
18 if (foo (4, 4) != 5)
19 abort ();
20 if (foo (5, 4) != 5)
21 abort ();
22 return 0;