C99 testsuite readiness: Compile more tests with -std=gnu89
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / shft.c
blob9b8488e48d360debe892067707c5e358ad526671
1 /* { dg-additional-options "-std=gnu89" } */
3 foo (a)
4 int a;
6 int b = 8;
8 if ((a << b) >= 0)
9 return 1;
10 return a;
13 main ()
15 if (foo (0x00ffffff) == 1)
16 puts ("y");