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
/
0035-breakcont.c
blob
a25ddd4a0a552cd14b12310c6733d559f16d8c26
1
2
int
3
main
()
4
{
5
int
x
;
6
7
x
=
0
;
8
while
(
1
)
9
break
;
10
while
(
1
) {
11
if
(
x
==
5
) {
12
break
;
13
}
14
x
=
x
+
1
;
15
continue
;
16
}
17
for
(;;) {
18
if
(
x
==
10
) {
19
break
;
20
}
21
x
=
x
+
1
;
22
continue
;
23
}
24
do
{
25
if
(
x
==
15
) {
26
break
;
27
}
28
x
=
x
+
1
;
29
continue
;
30
}
while
(
1
);
31
return
x
-
15
;
32
}
33