repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[tuner] handle the case with multiple "preserve" attributes
[mono-project.git]
/
mcs
/
tests
/
test-519.cs
blob
8b8bd6bf2e8a7290d2d665e6a7dd7722437b2f8b
1
using
System
;
2
3
class
Foo
{
4
public static int
Main
()
5
{
6
try
{
7
f
();
8
return
1
;
9
}
catch
{
10
}
11
12
try
{
13
f2
();
14
return
2
;
15
}
catch
(
ApplicationException
) {
16
}
17
18
return
0
;
19
}
20
21
static void
f
()
22
{
23
try
{
24
goto
skip
;
25
}
catch
{
26
goto
skip
;
27
}
finally
{
28
throw new
System
.
Exception
();
29
}
30
skip
:
31
;
32
}
33
34
static void
f2
()
35
{
36
try
{
37
goto
FinallyExit
;
38
}
finally
{
39
throw new
ApplicationException
();
40
}
41
FinallyExit
:
42
Console
.
WriteLine
(
"Too late"
);
43
}
44
}