Author: martin
Date: 2006-10-04 16:46:49 -0400 (Wed, 04 Oct 2006)
New Revision: 66254

Added:
   trunk/mcs/tests/test-anon-53.cs
Removed:
   branches/martin/anonymous-methods/work/test-martin-24.cs
Log:
New test.


Deleted: branches/martin/anonymous-methods/work/test-martin-24.cs
===================================================================
--- branches/martin/anonymous-methods/work/test-martin-24.cs    2006-10-04 
20:46:15 UTC (rev 66253)
+++ branches/martin/anonymous-methods/work/test-martin-24.cs    2006-10-04 
20:46:49 UTC (rev 66254)
@@ -1,32 +0,0 @@
-using System;
-
-public delegate void Foo ();
-
-class Test
-{
-       public Test (int a)
-       {
-               Foo foo = delegate {
-                       Console.WriteLine (a);
-               };
-               foo ();
-       }
-
-       static Test ()
-       {
-               int a = 5;
-               Foo foo = delegate {
-                       Console.WriteLine (a);
-               };
-               foo ();
-       }
-}
-
-class X
-{
-       static void Main ()
-       {
-               Test test = new Test (9);
-               Console.WriteLine (test);
-       }
-}

Copied: trunk/mcs/tests/test-anon-53.cs (from rev 66253, 
branches/martin/anonymous-methods/work/test-martin-24.cs)

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to