2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr31115.c
blob1395a34b3226264e8501bd9e3b359bd4bc6ecc47
1 /* { dg-do run } */
3 extern void exit(int);
4 extern void abort();
5 void foo (int e1)
7 if (e1 < 0)
9 e1 = -e1;
10 if (e1 >>= 4)
12 if (e1 >= 1 << 5)
13 exit(0);
18 int main()
20 foo(-(1<<9));
21 abort();