[mcs] Single name meaning relaxation to match roslyn
[mono.git] / mcs / tests / test-916.cs
diff --git a/mcs/tests/test-916.cs b/mcs/tests/test-916.cs
new file mode 100644 (file)
index 0000000..f63c1c2
--- /dev/null
@@ -0,0 +1,19 @@
+public class Foo
+{
+       public static class Nested
+       {
+               static int bar ()
+               {
+                       return 0;
+               }
+               
+               public static void Main ()
+               {
+                       var i = bar ();
+                       {
+                               bool bar = false;
+                       }
+               } 
+       }
+}
+