2004-01-21 Martin Baulig <martin@ximian.com>
authorMartin Baulig <martin@novell.com>
Wed, 21 Jan 2004 20:59:39 +0000 (20:59 -0000)
committerMartin Baulig <martin@novell.com>
Wed, 21 Jan 2004 20:59:39 +0000 (20:59 -0000)
* test-227.cs: New test for #52517.

svn path=/trunk/mcs/; revision=22359

mcs/tests/ChangeLog
mcs/tests/Makefile
mcs/tests/test-227.cs [new file with mode: 0644]

index 7d3520c3b0a59c4d09a91ac6bbbb12120ca4cf85..23e83ce3f8ede19e8145efa56dce0e715076ce5f 100755 (executable)
@@ -1,3 +1,7 @@
+2004-01-21  Martin Baulig  <martin@ximian.com>
+
+       * test-227.cs: New test for #52517.
+
 2004-01-20  Martin Baulig  <martin@ximian.com>
 
        * test-154.cs: Added testcase for bug #46640.
index 39bf49a6feaf2a91ee921333f1abee92f35293ae..42172e8d273e68135b49ace245c867ad06d633c7 100644 (file)
@@ -35,7 +35,7 @@ TEST_SOURCES = \
        test-191 test-192 test-193 test-194 test-195 test-196 test-197 test-198 test-199 test-200 \
        test-201 test-202 test-203 test-204 test-205 test-206 test-207 test-208 test-209 test-210 \
        test-211 test-212 test-213 test-214 test-215 test-216 test-217 test-218 test-219 test-220 \
-       test-221 test-222 test-223 test-224 test-225 test-226 \
+       test-221 test-222 test-223 test-224 test-225 test-226 test-227 \
        cls-test-0 cls-test-1 cls-test-2 cls-test-3 cls-test-5 cls-test-6 cls-test-7 cls-test-10 \
        cls-test-11 cls-test-14 cls-test-15 cls-test-16
 
diff --git a/mcs/tests/test-227.cs b/mcs/tests/test-227.cs
new file mode 100644 (file)
index 0000000..c6d4c72
--- /dev/null
@@ -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;
+               }
+       }
+}