Author: marek
Date: 2007-09-19 10:17:00 -0400 (Wed, 19 Sep 2007)
New Revision: 86010
Added:
trunk/mcs/tests/ltest-11.cs
Log:
New test.
Added: trunk/mcs/tests/ltest-11.cs
===================================================================
--- trunk/mcs/tests/ltest-11.cs 2007-09-19 14:16:42 UTC (rev 86009)
+++ trunk/mcs/tests/ltest-11.cs 2007-09-19 14:17:00 UTC (rev 86010)
@@ -0,0 +1,34 @@
+// Compiler options: -langversion:linq
+
+using System;
+
+public class Pair<T1, T2>
+{
+}
+
+public delegate Pair<T1, T2> Group<T1, T2>(T1 input);
+
+
+public static class C
+{
+ public static void Foo<TInput, TValue, TIntermediate> (Group<TInput,
TValue> Pair,
+ Func<TValue, Group<TInput, TIntermediate>> selector)
+ {
+ }
+}
+
+public class E<TI>
+{
+ public void Rep1<TV>(Group<TI, TV> parser)
+ {
+ C.Foo (parser, (x) => parser);
+ }
+}
+
+public class M
+{
+ public static void Main ()
+ {
+ }
+}
+
Property changes on: trunk/mcs/tests/ltest-11.cs
___________________________________________________________________
Name: svn:eol-style
+ native
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches