2010-04-13 Sebastien Pouliot <sebastien@ximian.com>
[mono-project.git] / mcs / tests / test-623.cs
blob03fce1597500f035a007dda377d538470a27ee9f
1 //
2 // fixed
3 //
4 interface I {
5 void a ();
8 abstract class X : I {
9 public abstract void a ();
12 class Y : X {
13 override public void a () {
14 System.Console.WriteLine ("Hello!");
15 return;
18 static void Main () {
19 Y y = new Y ();
21 ((I) y ).a ();