[Wasm] Fix memory override in mono_wasm_add_assembly
[mono-project.git] / mcs / tests / test-314.cs
blob3d2fab33e6071750b91b160b82d130da2bd0e44f
1 class X {
2 static string a = "static string";
3 string b = a + "string";
5 X () {}
6 X (int x) {}
8 public static int Main () {
9 if (new X ().b != "static stringstring")
10 return 1;
12 if (new X (1).b != "static stringstring")
13 return 2;
14 return 0;