[mono/tests] Fix out of tree build.
[mono-project.git] / mcs / tests / dtest-010.cs
blobe38e82d9e480329c43ccaf8a34beedb7dfdbbfb3
1 class A
3 public static T Test<T> (T a, T b)
5 return b;
9 class C
11 int TestCall ()
13 return 1;
16 public static int Main ()
18 dynamic d = 0;
19 object o = new C ();
21 if (A.Test<dynamic> (d, o).TestCall () != 1)
22 return 1;
24 if (A.Test (d, o).TestCall () != 1)
25 return 2;
27 return 0;