Author: martin
Date: 2006-10-04 16:43:30 -0400 (Wed, 04 Oct 2006)
New Revision: 66247
Added:
trunk/mcs/tests/test-anon-46.cs
Removed:
branches/martin/anonymous-methods/work/test-martin-16.cs
Log:
New test.
Deleted: branches/martin/anonymous-methods/work/test-martin-16.cs
===================================================================
--- branches/martin/anonymous-methods/work/test-martin-16.cs 2006-10-04
20:43:01 UTC (rev 66246)
+++ branches/martin/anonymous-methods/work/test-martin-16.cs 2006-10-04
20:43:30 UTC (rev 66247)
@@ -1,28 +0,0 @@
-using System;
-
-public delegate void Foo ();
-
-public class World
-{
- public void Hello (long a)
- { }
-
- public void Test (int t)
- {
- Hello (t);
- int u = 2 * t;
- Foo foo = delegate {
- Hello (u);
- };
- foo ();
- }
-}
-
-class X
-{
- static void Main ()
- {
- World world = new World ();
- world.Test (5);
- }
-}
Copied: trunk/mcs/tests/test-anon-46.cs (from rev 66246,
branches/martin/anonymous-methods/work/test-martin-16.cs)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches