[interp] Reduce computation under calc_section mutex
[mono-project.git] / mcs / tests / test-858.cs
blob78fe95c4d02816fc59f05a8deeb090c5388b028c
1 // Compiler options: -r:test-858-lib.dll
3 using System;
5 class X
7 public static int Main ()
9 Bar bar = new Bar ();
10 if (bar.Message != "bar")
11 return 1;
13 Foo foo = new Foo ();
14 if (foo.Message != "foo")
15 return 2;
17 C c = new C ();
18 c.get_Value ();
19 c.add_Arg (false);
21 Console.WriteLine ("Test ok");
22 return 0;