diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2004-10-01 09:23:57 +0400 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2004-10-01 09:23:57 +0400 |
commit | bbfb76d4dab6bd49d9fa047b30225bb3605ded4e (patch) | |
tree | 0cb440411e8d1777e1ac73d3c034d2a6a534dc68 /mcs/errors/cs0122-5.cs | |
parent | 7a33bcc5e9b65c998f29bf1c4ef4ba3a86dd0327 (diff) |
* cs0122-5.cs, cs0122-6.cs: New tests.
* gmcs-expect-no-error: Update.
svn path=/trunk/mcs/; revision=34587
Diffstat (limited to 'mcs/errors/cs0122-5.cs')
-rw-r--r-- | mcs/errors/cs0122-5.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/errors/cs0122-5.cs b/mcs/errors/cs0122-5.cs new file mode 100644 index 00000000000..b5802a342b3 --- /dev/null +++ b/mcs/errors/cs0122-5.cs @@ -0,0 +1,16 @@ +// cs0122: `Foo.Bar' is inaccessible due to its protection level + +public class Test +{ + public class Foo + { + private class Bar {} + } + + private class Bar : Foo.Bar + { + } + + public static void Main () {} +} + |