PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 950322-1.c
blob28a1469fea0b820da2830a4a20f4ba312b2ccb4a
1 f (unsigned char *a)
3 int i, j;
4 int x, y;
6 j = a[1];
7 i = a[0] - j;
8 if (i < 0)
10 x = 1;
11 y = -i;
13 else
15 x = 0;
16 y = i;
18 return x + y;
22 main ()
24 unsigned char a[2];
25 a[0] = 8;
26 a[1] = 9;
27 if (f (a) != 2)
28 abort ();
29 exit (0);