[System] Tweak socket test
[mono-project.git] / mono / tests / interface1.cs
blob251c8692e4022551407aaea8cb6598bec40d913d
1 namespace intf {
2 public class A {
3 public virtual int method () {
4 return 1;
7 public interface B {
8 int method ();
10 public class C : A, B {
12 static int Main() {
13 C c = new C ();
14 if (c.method() != 1)
15 return 1;
16 return 0;