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