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>2007-02-14 00:22:26 +0300
committerMarek Safar <marek.safar@gmail.com>2007-02-14 00:22:26 +0300
commit39ce959070901eed1ca383b40c40c0b09a0bf44c (patch)
tree2f278892fd3814bce760db9acb27be70a2f40657 /mcs/tests/test-561.cs
parent8de5a4ec1e53b7408851a84112ab409bdf6760dc (diff)
Test based on #80749
svn path=/trunk/mcs/; revision=72794
Diffstat (limited to 'mcs/tests/test-561.cs')
-rw-r--r--mcs/tests/test-561.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/mcs/tests/test-561.cs b/mcs/tests/test-561.cs
new file mode 100644
index 00000000000..15145381aae
--- /dev/null
+++ b/mcs/tests/test-561.cs
@@ -0,0 +1,24 @@
+abstract class A : I
+{
+ protected abstract void M ();
+
+ void I.M ()
+ {
+ }
+}
+
+interface I
+{
+ void M ();
+}
+
+class C : A, I
+{
+ protected override void M ()
+ {
+ }
+
+ public static void Main ()
+ {
+ }
+}