repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[corlib] Fix a few NSLogWriter issues. (#13799)
[mono-project.git]
/
mcs
/
tests
/
test-585.cs
blob
014b9b63e893b88c7c645df980022a8df83b6a3c
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