projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Thu May 27 15:50:52 CEST 2004 Paolo Molaro <lupus@ximian.com>
[mono.git]
/
mono
/
tests
/
bug-42136.cs
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
}