repo.or.cz
/
vala-gnome.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Release 0.41.92
[vala-gnome.git]
/
tests
/
asynchronous
/
bug596861.vala
blob
f73ccfaa85e01f231889a1e6f5416f67270cc1c2
1
async
int
foo
()
throws Error
{
2
try
{
3
yield
foo
();
4
}
catch
(
Error e
) {
5
try
{
6
yield
foo
();
7
}
catch
(
Error e
) {
8
return
0
;
9
}
10
}
11
foreach
(
var
e
in
new
int
[]{
1
,
2
,
3
}) {
12
}
13
foreach
(
var
e
in
new
int
[]{
1
,
2
,
3
}) {
14
}
15
return
0
;
16
}
17
18
void
main
() {
19
}