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
Fix LLVM linker flags for 6.0.
[mono-project.git]
/
mcs
/
tests
/
dtest-015.cs
blob
e193c2f4e67b4e6c3e5e67bec593badfc1c7e63e
1
using
System
;
2
3
class
Program
4
{
5
public static int
Main
()
6
{
7
dynamic
d
=
new
Program
();
8
var
p
=
d
as int
?;
9
if
(
p
!=
null
)
10
return
1
;
11
12
var
p2
=
d
as
Program
;
13
if
(
p2
==
null
)
14
return
2
;
15
16
return
0
;
17
}
18
}