Author: marek
Date: 2007-06-08 09:13:36 -0400 (Fri, 08 Jun 2007)
New Revision: 78951
Modified:
trunk/mcs/tests/gtest-anon-18.cs
Log:
Add new test.
Modified: trunk/mcs/tests/gtest-anon-18.cs
===================================================================
--- trunk/mcs/tests/gtest-anon-18.cs 2007-06-08 13:12:54 UTC (rev 78950)
+++ trunk/mcs/tests/gtest-anon-18.cs 2007-06-08 13:13:36 UTC (rev 78951)
@@ -10,6 +10,11 @@
return default (TR);
}
+ public static TR Test<TR, TA, TB> (Func<TR, TA> f, Func<TR, TB> f2)
+ {
+ return default (TR);
+ }
+
public static void Test2<T> ()
{
// FIXME:
@@ -19,5 +24,6 @@
public static void Main()
{
int r = Test (delegate (int i) { return i < 1 ? 'a' : i; });
+ string s = Test (delegate (int i) { return "a"; }, delegate
(int i) { return "b"; });
}
}
\ No newline at end of file
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches