repo.or.cz
/
vala-lang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
codegen: Add destroy_local, destroy_parameter, and destroy_field
[vala-lang.git]
/
tests
/
control-flow
/
break.vala
blob
9eb35d0a0bc4ea2942053ee6bed1a2530e62c916
1
using
GLib
;
2
3
class
Maman
.
Bar
:
Object
{
4
public static
int
main
() {
5
stdout
.
printf
(
"Break Test: 1"
);
6
7
int
i
;
8
for
(
i
=
0
;
i
<
10
;
i
++) {
9
stdout
.
printf
(
" 2"
);
10
break
;
11
}
12
13
stdout
.
printf
(
" 3
\n
"
);
14
15
return
0
;
16
}
17
}
18
19
void
main
() {
20
Maman
.
Bar
.
main
();
21
}