C99 testsuite readiness: Compile more tests with -std=gnu89
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / xb.c
blob4f17f0ab365a295b56738e39f7ab7d713f6906df
1 /* { dg-additional-options "-std=gnu89" } */
3 foo (a, b)
5 unsigned x = 1;
7 a += b;
8 a += x;
9 if (a <= 0)
10 return 1;
11 return 0;
14 main ()
16 printf ("%d\n", foo (1, ~0));
17 printf ("%d\n", foo (0, ~0));
18 printf ("%d\n", foo (-1, ~0));