Switch to compiler-tester
[mono.git] / mcs / tests / 2test-a7.cs
diff --git a/mcs/tests/2test-a7.cs b/mcs/tests/2test-a7.cs
deleted file mode 100644 (file)
index ecb5c51..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// Tests capturing of variables
-//
-delegate void S ();
-using System;
-
-class X {
-       static int Main ()
-       {
-               int a = 1;
-               if (a != 1)
-                       return 1;
-               
-               Console.WriteLine ("A is = " + a);
-               S b= delegate {
-                       Console.WriteLine ("on delegate");
-                       a = 2;
-               };
-               if (a != 1)
-                       return 2;
-               b();
-               if (a != 2)
-                       return 3;
-               Console.WriteLine ("OK");
-               return 0;
-       }
-}
-