diff options
author | Martin Baulig <martin@novell.com> | 2003-07-08 22:03:21 +0400 |
---|---|---|
committer | Martin Baulig <martin@novell.com> | 2003-07-08 22:03:21 +0400 |
commit | ae2a215b4062664f6364d713fc94b5cd15df000e (patch) | |
tree | 52b233c68190ee10f51cde722b912cb0cb817cd3 /mcs/tests/test-199.cs | |
parent | 270d71bc581c09db6dc627eca3653874e6e0ce77 (diff) |
2003-07-08 Martin Baulig <martin@ximian.com>
* test-198.cs, test-199.cs: New tests for bugs #36316, #36314 and
#36313.
svn path=/trunk/mcs/; revision=16042
Diffstat (limited to 'mcs/tests/test-199.cs')
-rw-r--r-- | mcs/tests/test-199.cs | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/mcs/tests/test-199.cs b/mcs/tests/test-199.cs new file mode 100644 index 00000000000..ee41b58dfe8 --- /dev/null +++ b/mcs/tests/test-199.cs @@ -0,0 +1,43 @@ +public class Test +{ + public static int Main () + { + N1.Foo.Foo2 foo2 = new N1.Foo.Foo2 (); + if (foo2.Talk () != 1) + return 1; + + return 0; + } +} + +namespace N1 +{ + public class Foo : N2.Bar + { + public class Foo2 : Bar2 + { + } + } + + public class Bar2 + { + public int Talk () + { + return 1; + } + } +} + +namespace N2 +{ + public class Bar + { + private class Bar2 + { + public int Talk () + { + return 2; + } + } + } +} |