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>2008-02-08 13:25:51 +0300
committerMarek Safar <marek.safar@gmail.com>2008-02-08 13:25:51 +0300
commitc4466814be27f8c4f4bf6591d078ab2ce6a4b2b7 (patch)
tree603054cf6496316b66417f9dd2a1e8d24401186a /mcs/tests/test-610.cs
parente0ef4b0dc5fe29a1238664d9cca81af49ada60e4 (diff)
New test.
svn path=/trunk/mcs/; revision=95230
Diffstat (limited to 'mcs/tests/test-610.cs')
-rw-r--r--mcs/tests/test-610.cs51
1 files changed, 51 insertions, 0 deletions
diff --git a/mcs/tests/test-610.cs b/mcs/tests/test-610.cs
new file mode 100644
index 00000000000..0b0517bd723
--- /dev/null
+++ b/mcs/tests/test-610.cs
@@ -0,0 +1,51 @@
+public class A
+{
+ private class C
+ {
+ protected class D : C
+ {
+ }
+ }
+
+ public static void Main ()
+ {
+ }
+}
+
+namespace N
+{
+ public class B
+ {
+ protected class C : A
+ {
+ public class E
+ {
+ }
+ }
+
+ protected internal class A : B
+ {
+ protected class D : C.E
+ {
+ }
+ }
+ }
+}
+
+namespace N2
+{
+ public class X<T>
+ {
+ private class A<T>
+ {
+ private class B<T>
+ {
+ public class C<T>
+ {
+ }
+
+ internal C<T> foo;
+ }
+ }
+ }
+}