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:
authorMartin Baulig <martin@novell.com>2004-05-24 23:37:17 +0400
committerMartin Baulig <martin@novell.com>2004-05-24 23:37:17 +0400
commit4582bae056dbf06730e0151efed6c85715273eb3 (patch)
treeb36abb38456d6ab74e354d3c501c6fba1b7dd1ef /mcs/tests/test-260.cs
parentf9154436b59e0afc37c3f08710c56babcfe29ea2 (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.cs27
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();
+ }
+ }
+}