linux-packaging-mono/mcs/tests/gtest-lambda-28.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

21 lines
254 B
C#

using System;
class G<T>
{
}
class C
{
static G<TResult> M<T, TResult>(G<T>[] arg, Func<G<T>[], TResult> func)
{
return null;
}
public static int Main ()
{
G<int>[] tasks = new G<int>[0];
G<G<int>[]> r = M(tasks, l => l);
return 0;
}
}