struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / qct / 0052-switch.c
blob8168ab47f7e8b9548521030f0c262bf6f93ef948
1 int x = 0;
3 int
4 main()
6 switch(x)
7 case 0:
9 switch(x)
10 case 0:
11 switch(x) {
12 case 0:
13 goto next;
14 default:
15 return 1;
17 return 1;
18 next:
19 switch(x)
20 case 1:
21 return 1;
22 switch(x) {
24 x = 1 + 1;
25 foo:
26 case 1:
27 return 1;
30 switch(x) {
31 case 0:
32 return x;
33 case 1:
34 return 1;
35 default:
36 return 1;