[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0150-2.cs
index a114adb8dbab6fbbbab6c0ba80080e95265da673..7e20f3f572edc1034dab86c7d482e87b98817ca2 100644 (file)
@@ -1,8 +1,18 @@
-// cs0150-2.cs: A constant value is expected
-// Line : 6
+// CS0150: A constant value is expected
+// Line : 14
 
-class C
+using System;
+
+public class Blah
 {
-       int [,] i = new int [2,null] { { 1 }, { 2 } };
+       static readonly string Test;
+       
+       public static void Main ()
+       {
+               string s = null;
+               switch (s) {
+                       case Blah.Test:
+                               break;
+               }
+       }
 }
\ No newline at end of file