[Wasm] Fix memory override in mono_wasm_add_assembly
[mono-project.git] / mcs / tests / test-195.cs
blob95ee942562e3e6d4e49ef423bd067c4918a6791d
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 public static void Main ()
27 X x = new X ();