projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
test_op_il_seq_point.sh now calls mono with option --compile-all=1
[mono.git]
/
mono
/
tests
/
test-type-ctor.cs
1
using System;
2
3
class Subclient {
4
5
static Subclient () {
6
throw new Exception ();
7
}
8
~Subclient () {
9
Console.WriteLine ("in finalizer");
10
}
11
}
12
13
class Test {
14
static Subclient s;
15
static void Main () {
16
Console.WriteLine ("testing");
17
try {
18
s = new Subclient ();
19
} catch {
20
Console.WriteLine ("got it");
21
}
22
Console.WriteLine ("done");
23
}
24
}
25