X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftests%2Fgtest-040.cs;h=06e74297db27b3e976c1ed5d0a2b3a4104048b6e;hb=56b3c007f428d93b7f230d58744393ad69e4ca63;hp=bcaeef3d0c901ce2108bd5f5cc2e25863ec438d5;hpb=5bbfa8860b090e465a3aa45edeb9c94481ef1a22;p=mono.git diff --git a/mcs/tests/gtest-040.cs b/mcs/tests/gtest-040.cs index bcaeef3d0c9..06e74297db2 100644 --- a/mcs/tests/gtest-040.cs +++ b/mcs/tests/gtest-040.cs @@ -105,13 +105,31 @@ public class Stack } } +class A +{ + public class Test + { + public static Nested Foo () + { + return null; + } + + public class Nested + { + } + } +} + class X { - static void Main () + public static int Main () { Stack stack = new Stack (1); INode node = stack.GetNode (); Stack.Foo foo = stack.GetFoo (7); Stack.Bar bar = stack.GetBar (8); + + A.Test.Nested v = A.Test.Foo (); + return 0; } }