projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Allow people to optionally fallback to the old scheduler with an environment variable
[mono.git]
/
mcs
/
tests
/
dtest-034.cs
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