2010-04-06 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / test-195.cs
blobec8c963c331c38fba200134bf8573c7853d0fd5d
1 using System;
3 public class Y {
4 static int count = 0;
6 public static int C ()
8 count++;
9 if (count == 2)
10 throw new Exception ("error");
11 return 1;
15 class X {
16 int a = Y.C ();
18 X () : this (1)
22 X (int a) {
25 static void Main ()
27 X x = new X ();