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:
authorMarek Safar <marek.safar@gmail.com>2015-02-13 15:37:23 +0300
committerMarek Safar <marek.safar@gmail.com>2015-02-13 16:37:31 +0300
commit1128af49cf870daa85ce70b6d290a1984772a44d (patch)
treef5a7c0f325d7833f53d04cd5d5a531b3bdaf49d9 /mcs/tests/test-913.cs
parent08014c462964a6fa03ca4ba609cd91e326b88dee (diff)
[mcs] Resolve using aliases on demand to fix issue with nested types. Fixes #27001
Diffstat (limited to 'mcs/tests/test-913.cs')
-rw-r--r--mcs/tests/test-913.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/tests/test-913.cs b/mcs/tests/test-913.cs
new file mode 100644
index 00000000000..e35eaff1795
--- /dev/null
+++ b/mcs/tests/test-913.cs
@@ -0,0 +1,16 @@
+namespace N
+{
+ using X = A.B;
+
+ class A
+ {
+ public class B {}
+
+ public class C : X {}
+
+ public static void Main ()
+ {
+ new C ();
+ }
+ }
+} \ No newline at end of file