Small ChangeLog tweak.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20011109-1.c
blob0f013d3b5656d407eb71cf998c44180ec9870c7d
1 void fail1(void)
3 abort ();
5 void fail2(void)
7 abort ();
9 void fail3(void)
11 abort ();
13 void fail4(void)
15 abort ();
19 void foo(long x)
21 switch (x)
23 case -6:
24 fail1 (); break;
25 case 0:
26 fail2 (); break;
27 case 1: case 2:
28 break;
29 case 3: case 4: case 5:
30 fail3 ();
31 break;
32 default:
33 fail4 ();
34 break;
36 switch (x)
39 case -3:
40 fail1 (); break;
41 case 0: case 4:
42 fail2 (); break;
43 case 1: case 3:
44 break;
45 case 2: case 8:
46 abort ();
47 break;
48 default:
49 fail4 ();
50 break;
54 int main(void)
56 foo (1);
57 exit (0);