Label inside implicit switch block is accessible from any switch case. Fixes #8036
[mono.git] / mcs / tests / gtest-198.cs
index 40f29bc6375bfcb12136ec7b726b5ba2e2a706b7..aba370233cef30a6a89f99ace216f12578ad201e 100644 (file)
@@ -16,6 +16,11 @@ namespace ClassLibrary2
                         _List.Add(item);
                 }
         }
+
+       class Foo
+       {
+               public static void Main () {}
+       }
 }