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>2008-03-19 14:12:21 +0300
committerMarek Safar <marek.safar@gmail.com>2008-03-19 14:12:21 +0300
commitac54dc8d39c5759c090c3a7f9c76a1b9738696ac (patch)
tree7d7be1baa0ce7c19cea483afb7801c33c2f6d30c /mcs/tests/test-623.cs
parent1b8aeb5fd77308c117a4c5ecf8b4e8bbc32c6fd5 (diff)
parentb251ce784aa16f7c3d52dfc4f334ee7b02f07c50 (diff)
New tests, migrated from errors.
svn path=/trunk/mcs/; revision=98583
Diffstat (limited to 'mcs/tests/test-623.cs')
-rw-r--r--mcs/tests/test-623.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/mcs/tests/test-623.cs b/mcs/tests/test-623.cs
new file mode 100644
index 00000000000..03fce159750
--- /dev/null
+++ b/mcs/tests/test-623.cs
@@ -0,0 +1,23 @@
+//
+// fixed
+//
+interface I {
+ void a ();
+}
+
+abstract class X : I {
+ public abstract void a ();
+}
+
+class Y : X {
+ override public void a () {
+ System.Console.WriteLine ("Hello!");
+ return;
+ }
+
+ static void Main () {
+ Y y = new Y ();
+
+ ((I) y ).a ();
+ }
+}