projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use only one class hierarchy for task continuations
[mono.git]
/
mcs
/
tests
/
dtest-043.cs
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
}