diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2004-06-03 15:32:31 +0400 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2004-06-03 15:32:31 +0400 |
commit | 8ca370f68e34444d40551249a9e9717946a02666 (patch) | |
tree | d1fa595571f330e729e5e39ff8b6847dac762867 /mcs/errors/cs1540-4.cs | |
parent | 5930670e362a5491cb14ea30b32f09cc329d8aff (diff) |
New testcases for bug #50820.
svn path=/trunk/mcs/; revision=28760
Diffstat (limited to 'mcs/errors/cs1540-4.cs')
-rw-r--r-- | mcs/errors/cs1540-4.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/errors/cs1540-4.cs b/mcs/errors/cs1540-4.cs new file mode 100644 index 00000000000..b2d09698f6d --- /dev/null +++ b/mcs/errors/cs1540-4.cs @@ -0,0 +1,16 @@ +class A +{ + protected void n () { } +} + +class B : A +{ + public static void Main () + { + A b = new A (); + b.n (); + } +} + + + |