[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / tests / test-197.cs
blob4d9d217de7add16ec9fd95c8ce6ab6f5abd30c69
1 using System;
3 public interface A
5 void Foo ();
8 public interface B : A
9 { }
11 public abstract class X : A
13 public abstract void Foo ();
16 public abstract class Y : X, B
17 { }
19 public class Z : Y
21 public override void Foo ()
23 Console.WriteLine ("Hello World!");
27 class Test
29 public static int Main ()
31 Z z = new Z ();
32 A a = z;
33 a.Foo ();
34 return 0;