Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20030323-1.c
blob8ea602deee3595696af6eef9a506a131cc51409f
1 /* PR c/10178. The following code would ICE because we didn't check for
2 overflow when computing the range of the switch-statment, and therefore
3 decided it could be implemented using bit-tests. */
5 int
6 banana(long citron)
8 switch (citron) {
9 case 0x80000000:
10 case 0x40000:
11 case 0x40001:
12 return 1;
13 break;
15 return 0;