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:
authorRaja R Harinath <harinath@hurrynot.org>2004-06-03 15:32:31 +0400
committerRaja R Harinath <harinath@hurrynot.org>2004-06-03 15:32:31 +0400
commit8ca370f68e34444d40551249a9e9717946a02666 (patch)
treed1fa595571f330e729e5e39ff8b6847dac762867 /mcs/errors/cs1540-4.cs
parent5930670e362a5491cb14ea30b32f09cc329d8aff (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.cs16
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 ();
+ }
+}
+
+
+