projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* cpu-pentium.md basic-float.cs Fixed bug on fpu spills (see bug 54467),
[mono.git]
/
mono
/
tests
/
exception2.cs
1
using System;
2
3
public class Ex2 {
4
5
public static int test (int a) {
6
int res;
7
res = 10/a;
8
return res;
9
}
10
public static int Main () {
11
int res = 1;
12
try {
13
test(1);
14
test(0);
15
} catch {
16
res = 0;
17
}
18
return res;
19
}
20
}
21
22