2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mono / tests / interface1.cs
1 namespace intf {
2         public class A {
3                 public virtual int method () {
4                         return 1;
5                 }
6         }
7         public interface B {
8                 int method ();
9         }
10         public class C : A, B {
11                 
12                 static int Main() {
13                         C c = new C ();
14                         if (c.method() != 1)
15                                 return 1;
16                         return 0;
17                 }
18         }
19 }