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