repo.or.cz
/
sdcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
struct / union in initializer, RFE #901.
[sdcc.git]
/
sdcc
/
support
/
regression
/
qct
/
0052-switch.c
blob
8168ab47f7e8b9548521030f0c262bf6f93ef948
1
int
x
=
0
;
2
3
int
4
main
()
5
{
6
switch
(
x
)
7
case
0
:
8
;
9
switch
(
x
)
10
case
0
:
11
switch
(
x
) {
12
case
0
:
13
goto
next
;
14
default
:
15
return
1
;
16
}
17
return
1
;
18
next
:
19
switch
(
x
)
20
case
1
:
21
return
1
;
22
switch
(
x
) {
23
{
24
x
=
1
+
1
;
25
foo
:
26
case
1
:
27
return
1
;
28
}
29
}
30
switch
(
x
) {
31
case
0
:
32
return
x
;
33
case
1
:
34
return
1
;
35
default
:
36
return
1
;
37
}
38
}