Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

17 lines
291 B
C#

// CS0305: Using the generic method `C.Test<T,Y>(C.Func<T>)' requires `2' type argument(s)
// Line: 14
public class C
{
public delegate int Func<T> (T t);
public static void Test<T, Y> (Func<T> f)
{
}
public static void Main ()
{
Test<int> (delegate (int i) { return i; });
}
}