diff options
author | Miguel de Icaza <miguel@gnome.org> | 2003-05-27 05:12:15 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2003-05-27 05:12:15 +0400 |
commit | d90b6829eeea15b53b31b0ef0e70572d8196fa1c (patch) | |
tree | ae2347c008e7cde8ba8d9f5bf2b28a2cc5a6a38c /mcs/tests/test-55.cs | |
parent | 70d5a29a296b58706fca9e21f2b80bd7f05f7dc1 (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-x | mcs/tests/test-55.cs | 11 |
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 (); |