Author: martin
Date: 2006-10-04 16:49:32 -0400 (Wed, 04 Oct 2006)
New Revision: 66259

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


Deleted: branches/martin/anonymous-methods/work/test-martin-2.cs
===================================================================
--- branches/martin/anonymous-methods/work/test-martin-2.cs     2006-10-04 
20:49:18 UTC (rev 66258)
+++ branches/martin/anonymous-methods/work/test-martin-2.cs     2006-10-04 
20:49:32 UTC (rev 66259)
@@ -1,34 +0,0 @@
-using System;
-
-public delegate void Simple ();
-
-public delegate Simple Foo ();
-
-class X
-{
-       public void Hello<U> (U u)
-       { }
-
-       public void Test<T> (T t)
-       {
-               T u = t;
-               Hello (u);
-               Foo foo = delegate {
-                       T v = u;
-                       Hello (u);
-                       return delegate {
-                               Hello (u);
-                               Hello (v);
-                       };
-               };
-               Simple simple = foo ();
-               simple ();
-               Hello (u);
-       }
-
-       static void Main ()
-       {
-               X x = new X ();
-               x.Test (3);
-       }
-}

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

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

Reply via email to