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-01-21 23:59:39 +0300
committerMartin Baulig <martin@novell.com>2004-01-21 23:59:39 +0300
commitc77bf0e3366561b66be0654c0767491898b78a26 (patch)
tree735494b612a9e7bbde7dab93f4212e1e7586fb59 /mcs/tests/test-227.cs
parent225a401df74256bc78016369d15bec4baf0f7643 (diff)
2004-01-21 Martin Baulig <martin@ximian.com>
* test-227.cs: New test for #52517. svn path=/trunk/mcs/; revision=22359
Diffstat (limited to 'mcs/tests/test-227.cs')
-rw-r--r--mcs/tests/test-227.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/mcs/tests/test-227.cs b/mcs/tests/test-227.cs
new file mode 100644
index 00000000000..c6d4c72d83e
--- /dev/null
+++ b/mcs/tests/test-227.cs
@@ -0,0 +1,27 @@
+using System;
+using Mat = A.ABC.BMT;
+
+namespace A
+{
+ namespace ABC
+ {
+ public enum BMT
+ {
+ X,
+ }
+ }
+
+ class T
+ {
+ public enum Mat
+ {
+ A = 5,
+ B
+ }
+
+ public static void Main() {
+ Mat c;
+ c = Mat.A;
+ }
+ }
+}