Switch to compiler-tester
[mono.git] / mcs / tests / 2test-a6.cs
diff --git a/mcs/tests/2test-a6.cs b/mcs/tests/2test-a6.cs
deleted file mode 100644 (file)
index e34d61f..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// Tests capturing of double nested variables
-//
-delegate void S ();
-using System;
-
-class X {
-       static int Main ()
-       {
-               int i;
-               S b = null;
-               
-               for (i = 0; i < 10; i++){
-                       int j = 0;
-                       b = delegate {
-                               Console.WriteLine ("i={0} j={1}", i, j);
-                               i = i + 1;
-                               j = j + 1;
-                       };
-               }
-               b ();
-               Console.WriteLine ("i = {0}", i);
-               if (!t (i, 11))
-                       return 1;
-               b ();
-               if (!t (i, 12))
-                       return 2;
-               Console.WriteLine ("i = {0}", i);
-               return 0;
-       }
-
-       static bool t (int a, int b)
-       {
-               return a == b;
-       }
-}