Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / tests / gtest-066.cs
index 0c763ad0c89c1fb8b0491669361384738d4bba62..37a169a4ea2a29bfd39dbc6bb588de88309cc3df 100644 (file)
@@ -1,13 +1,25 @@
 using System;
+using A = Test;
 
 public class Foo<T>
 {
+       public class Bar <U>
+       {
+       }
+}
+
+namespace Test
+{
+       class FooEx<V, W> {}
 }
 
 class X
 {
-       static void Main ()
+       public static void Main ()
        {
                Console.WriteLine (typeof (Foo<>));
+               Console.WriteLine (typeof (Foo<>.Bar<>));
+               Console.WriteLine (typeof (Test.FooEx<,>));             
+               Console.WriteLine (typeof (A::FooEx<,>));
        }
-}
+}
\ No newline at end of file