Author: martin
Date: 2005-09-27 13:46:57 -0400 (Tue, 27 Sep 2005)
New Revision: 50880

Added:
   trunk/mcs/tests/gtest-204.cs
Modified:
   trunk/mcs/tests/ChangeLog
Log:
2005-09-27  Martin Baulig  <[EMAIL PROTECTED]>

        * gtest-204.cs: New test for #75773.



Modified: trunk/mcs/tests/ChangeLog
===================================================================
--- trunk/mcs/tests/ChangeLog   2005-09-27 17:44:41 UTC (rev 50879)
+++ trunk/mcs/tests/ChangeLog   2005-09-27 17:46:57 UTC (rev 50880)
@@ -1,5 +1,9 @@
 2005-09-27  Martin Baulig  <[EMAIL PROTECTED]>
 
+       * gtest-204.cs: New test for #75773.
+
+2005-09-27  Martin Baulig  <[EMAIL PROTECTED]>
+
        * gtest-203.cs: New test for #75584.
 
 2005-09-26  Martin Baulig  <[EMAIL PROTECTED]>

Added: trunk/mcs/tests/gtest-204.cs
===================================================================
--- trunk/mcs/tests/gtest-204.cs        2005-09-27 17:44:41 UTC (rev 50879)
+++ trunk/mcs/tests/gtest-204.cs        2005-09-27 17:46:57 UTC (rev 50880)
@@ -0,0 +1,33 @@
+public class Map <b>
+{
+     b x;
+
+    public a Fold1 <a> (a ini)
+    {
+      return ini;
+    } 
+
+    public c Fold<c> (c ini)
+    {
+       Fold1 <b> (x);
+       return   ini;
+    }
+}
+
+
+public class LocalContext
+{
+    Map <string> locals = new Map <string> ();
+
+    public a Fold <a> (a acc)
+    {
+      return locals.Fold (acc);
+    }
+}
+
+class M {
+  static void Main () {
+     LocalContext x = new LocalContext ();
+     x.Fold ("a" );
+  }
+}

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to