[interp] Reduce computation under calc_section mutex
[mono-project.git] / mcs / tests / gtest-623.cs
blobce9b79d1bd1a47f9bf75544b4d8522532744b3f6
1 // Compiler options: -r:gtest-623-lib.dll
3 using System;
5 public class C
7 static bool Test<T> () where T : struct, I
9 var t = new T ();
10 if (t.GetValue () != 3)
11 return false;
13 return true;
16 public static int Main ()
18 if (!Test<S> ())
19 return 1;
21 Console.WriteLine ("ok");
22 return 0;