[mcs] Pending implementation of accessors cannot hide base implementation with differ...
[mono.git] / mcs / tests / test-585.cs
1 interface IA
2 {
3 }
4
5 interface IB
6 {
7 }
8
9 class A
10 {
11 }
12
13 class B
14 {
15 }
16
17 class X : IA
18 {
19 }
20
21 class Program
22 {
23         public static void Main ()
24         {
25                 IA a = null;
26                 IB b = null;
27                 bool r = a == b;
28                 
29                 A aa = null;
30                 B bb = null;
31                 // Only this fails
32                 //r = aa == bb;
33                 
34                 X x = null;
35                 r = x == a;
36                 r = x == b;
37                 
38                 object o = null;
39                 r = o == x;
40                 r = o == a;
41                 r = o == aa;
42         }
43 }
44