Author: martin
Date: 2006-10-04 16:50:59 -0400 (Wed, 04 Oct 2006)
New Revision: 66262
Added:
trunk/mcs/tests/gtest-anon-12.cs
Removed:
branches/martin/anonymous-methods/work/test-martin-12.cs
Log:
New test.
Deleted: branches/martin/anonymous-methods/work/test-martin-12.cs
===================================================================
--- branches/martin/anonymous-methods/work/test-martin-12.cs 2006-10-04
20:50:55 UTC (rev 66261)
+++ branches/martin/anonymous-methods/work/test-martin-12.cs 2006-10-04
20:50:59 UTC (rev 66262)
@@ -1,26 +0,0 @@
-using System;
-
-public delegate void Foo ();
-
-public class World<T>
-{
- public void Hello<U> (U u)
- { }
-
- public void Test (T t)
- {
- Hello (t);
- Foo foo = delegate {
- Hello (t);
- };
- }
-}
-
-class X
-{
- static void Main ()
- {
- World<X> world = new World<X> ();
- world.Test (new X ());
- }
-}
Copied: trunk/mcs/tests/gtest-anon-12.cs (from rev 66261,
branches/martin/anonymous-methods/work/test-martin-12.cs)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches