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
[sdks] Fix README.md
[mono-project.git]
/
mcs
/
tests
/
dtest-034.cs
blob
b556f1f5497e6bd60b1b666e1a319f200c3acd51
1
public class
C
2
{
3
public void
M
<
U
,
V
> (
out
U u
,
ref
V v
)
4
{
5
u
=
default
(
U
);
6
}
7
}
8
9
public class
Test
10
{
11
public static int
Main
()
12
{
13
dynamic
u
=
"s"
;
14
dynamic
v
=
5
;
15
dynamic
c
=
new
C
();
16
c
.
M
(
out
u
,
ref
v
);
17
18
if
(
v
!=
5
)
19
return
1
;
20
21
if
(
u
!=
null
)
22
return
2
;
23
24
return
0
;
25
}
26
}
27
28