C99 testsuite readiness: Compile more tests with -std=gnu89
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / shift.c
blob9479126dba8b18b36b24aadca28982eaae7d3258
1 /* { dg-additional-options "-std=gnu89" } */
3 foo (a)
5 if (a >= 0)
6 return (unsigned) a << 10;
7 else
8 return (int) a << 10;