repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Reenable AOT, it wasn't enabled on the x86 buildbot anyway.
[mcs.git]
/
tests
/
test-585.cs
blob
30a2af18848a865c17d9f178a58a340708bc90fb
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
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