diff options
author | Martin Baulig <martin@novell.com> | 2004-05-24 23:37:17 +0400 |
---|---|---|
committer | Martin Baulig <martin@novell.com> | 2004-05-24 23:37:17 +0400 |
commit | 4582bae056dbf06730e0151efed6c85715273eb3 (patch) | |
tree | b36abb38456d6ab74e354d3c501c6fba1b7dd1ef /mcs/tests/test-260.cs | |
parent | f9154436b59e0afc37c3f08710c56babcfe29ea2 (diff) |
2004-05-24 Martin Baulig <martin@ximian.com>
* test-260.cs: New test for #53921.
svn path=/trunk/mcs/; revision=27994
Diffstat (limited to 'mcs/tests/test-260.cs')
-rw-r--r-- | mcs/tests/test-260.cs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mcs/tests/test-260.cs b/mcs/tests/test-260.cs new file mode 100644 index 00000000000..84e770046bc --- /dev/null +++ b/mcs/tests/test-260.cs @@ -0,0 +1,27 @@ +using x; +using y; +using Test = x.Test; + +namespace x +{ + public class Test + { } +} + +namespace y +{ + public class Test + { } +} + +namespace b +{ + public class a + { + public static void Main() + { + // Test should be an alias to x.Test + Test test = new Test(); + } + } +} |