Author: martin
Date: 2006-10-04 16:51:14 -0400 (Wed, 04 Oct 2006)
New Revision: 66266

Added:
   trunk/mcs/tests/gtest-anon-25.cs
Removed:
   branches/martin/anonymous-methods/work/test-martin-25.cs
Log:
New test.

Deleted: branches/martin/anonymous-methods/work/test-martin-25.cs
===================================================================
--- branches/martin/anonymous-methods/work/test-martin-25.cs    2006-10-04 
20:51:10 UTC (rev 66265)
+++ branches/martin/anonymous-methods/work/test-martin-25.cs    2006-10-04 
20:51:14 UTC (rev 66266)
@@ -1,25 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-delegate int Foo ();
-
-class X
-{
-       static void Main ()
-       {
-               Test ("Hello World", 8);
-       }
-
-       public static void Test<R> (R r, int a)
-       {
-               for (int b = a; b > 0; b--) {
-                       R s = r;
-                       Foo foo = delegate {
-                               Console.WriteLine (b);
-                               Console.WriteLine (s);
-                               return 3;
-                       };
-                       a -= foo ();
-               }
-       }
-}

Copied: trunk/mcs/tests/gtest-anon-25.cs (from rev 66265, 
branches/martin/anonymous-methods/work/test-martin-25.cs)

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

Reply via email to