Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2003-05-27 05:12:15 +0400
committerMiguel de Icaza <miguel@gnome.org>2003-05-27 05:12:15 +0400
commitd90b6829eeea15b53b31b0ef0e70572d8196fa1c (patch)
treeae2347c008e7cde8ba8d9f5bf2b28a2cc5a6a38c /mcs/tests/test-55.cs
parent70d5a29a296b58706fca9e21f2b80bd7f05f7dc1 (diff)
Improve the using-alias test to include the sample from Zoltan (IKVM)
svn path=/trunk/mcs/; revision=14915
Diffstat (limited to 'mcs/tests/test-55.cs')
-rwxr-xr-xmcs/tests/test-55.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/mcs/tests/test-55.cs b/mcs/tests/test-55.cs
index eeb28d3866b..4b47a4da201 100755
--- a/mcs/tests/test-55.cs
+++ b/mcs/tests/test-55.cs
@@ -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 ();