[mcs] C#7 throw expression
[mono.git] / mcs / tests / gtest-151.cs
index 54fd9cceb617d3671e7082fa0c847864fc0c695c..247b330c224aa7d13378e204abce2c6cd85d31cb 100644 (file)
@@ -6,7 +6,10 @@ class Test<T> where T: struct{
 
 class X
 {
-       static void Main ()
-       { }
+       public static int Main ()
+       {
+               new Test<bool> ();
+               return 0;
+       }
 }