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
Take stars out of types where they make more sense.
[mono-project.git]
/
mcs
/
tests
/
dtest-043.cs
blob
0308e8866b5c2d1f3d5230b4fe54483626119e65
1
class
A
2
{
3
public static int
Main
()
4
{
5
dynamic
d
=
'a'
;
6
object
o
=
null
;
7
8
char
ch
=
o
??
d
;
9
if
(
ch
!=
'a'
)
10
return
1
;
11
12
const
A a
=
null
;
13
ch
=
a
??
d
;
14
if
(
ch
!=
'a'
)
15
return
2
;
16
17
ch
=
d
??
'b'
;
18
if
(
ch
!=
'a'
)
19
return
3
;
20
21
int
?
n
=
null
;
22
dynamic
d2
=
null
;
23
var
r
=
n
??
d2
;
24
25
return
0
;
26
}
27
}