Improve the using-alias test to include the sample from Zoltan (IKVM)
authorMiguel de Icaza <miguel@gnome.org>
Tue, 27 May 2003 01:12:15 +0000 (01:12 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Tue, 27 May 2003 01:12:15 +0000 (01:12 -0000)
svn path=/trunk/mcs/; revision=14915

mcs/tests/test-55.cs

index eeb28d3866ba791b37c6c309c792b74f313dfda3..4b47a4da201bffa6aad5fd19dc17c04b7c6788be 100755 (executable)
@@ -24,6 +24,17 @@ namespace X {
        }
 }
 
+namespace Foo {
+
+  // Trick: this class is called System.  but we are going to use the using alias to
+  // reference the real system.
+  class System {
+       static void X() {
+         System2.Console.WriteLine("FOO");
+       }
+  }
+}
+
 class App {
        public static int Main () {
                A.B.C.Hola ();