2009-12-09 Jb Evain <jbevain@novell.com>
[mcs.git] / tests / dtest-010.cs
blobc9ca78901126ac48ad352fe4e136c649d1db68bd
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 // FIXME: Very tricky, I not sure what to do for now
25 //if (A.Test (d, o).TestCall () != 1)
26 // return 1;
28 return 0;