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