PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr48717.c
bloba746374a26d13ce8c31f141e679e9ce47570d664
1 /* PR tree-optimization/48717 */
3 extern void abort (void);
5 int v = 1, w;
7 unsigned short
8 foo (unsigned short x, unsigned short y)
10 return x + y;
13 void
14 bar (void)
16 v = foo (~w, w);
19 int
20 main ()
22 bar ();
23 if (v != (unsigned short) -1)
24 abort ();
25 return 0;