Replace SIZEOF_REGISTER with sizeof(mgreg_t) for consistency with sizeof(gpointer)
[mono.git] / mcs / errors / gcs0305-5.cs
1 // CS0305: Using the generic method `C.Test<T,Y>(C.Func<T>)' requires `2' type argument(s)
2 // Line: 14
3
4 public class C
5 {
6         public delegate int Func<T> (T t);
7         
8         public static void Test<T, Y> (Func<T> f)
9         {
10         }
11
12         public static void Main ()
13         {
14                 Test<int> (delegate (int i) { return i; });
15         }
16 }