[sdks] Fix README.md
[mono-project.git] / mcs / tests / dtest-034.cs
blobb556f1f5497e6bd60b1b666e1a319f200c3acd51
1 public class C
3 public void M<U, V> (out U u, ref V v)
5 u = default (U);
9 public class Test
11 public static int Main ()
13 dynamic u = "s";
14 dynamic v = 5;
15 dynamic c = new C ();
16 c.M (out u, ref v);
18 if (v != 5)
19 return 1;
21 if (u != null)
22 return 2;
24 return 0;