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
* TextControl.cs: Make this operation undoable.
[mono-project.git]
/
mono
/
tests
/
bug-42136.cs
blob
dfa57cd99dab63e63a3fb45b00b971175f1b520c
1
using
System
;
2
3
public class
Test
{
4
5
public static int
test_0_liveness_exception
() {
6
int
id
=
1
;
7
8
try
{
9
id
=
2
;
10
throw new
Exception
();
11
}
12
catch
(
Exception
) {
13
if
(
id
!=
2
)
14
return
id
;
15
}
16
17
return
0
;
18
}
19
20
public static int
Main
() {
21
int
res
=
0
;
22
23
res
=
test_0_liveness_exception
();
24
if
(
res
!=
0
)
25
Console
.
WriteLine
(
"error, test_0_liveness_exception res=
{0}
"
,
res
);
26
27
return
0
;
28
}
29
}