projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2005-02-08 Atsushi Enomoto <atsushi@ximian.com>
[mono.git]
/
mcs
/
tests
/
test-195.cs
1
using System;
2
3
public class Y {
4
static int count = 0;
5
6
public static int C ()
7
{
8
count++;
9
if (count == 2)
10
throw new Exception ("error");
11
return 1;
12
}
13
}
14
15
class X {
16
int a = Y.C ();
17
18
X () : this (1)
19
{
20
}
21
22
X (int a) {
23
}
24
25
static void Main ()
26
{
27
X x = new X ();
28
}
29
}