Switch to compiler-tester
[mono.git] / mcs / tests / a-parameter3.cs
diff --git a/mcs/tests/a-parameter3.cs b/mcs/tests/a-parameter3.cs
deleted file mode 100644 (file)
index 5a3f6a8..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-// Compiler options: -unsafe
-using System;
-
-delegate int D ();
-
-unsafe class X {
-
-       static int Main ()
-       {
-               D x = T (1);
-
-               int v = x ();
-               Console.WriteLine ("Should be 2={0}", v);
-               return v == 2 ? 0 : 1;
-       }
-
-       static D T (int a)
-       {
-               D d = delegate {
-                       int *x = &a;
-
-                       *x = *x + 1;
-                       return *x;
-               };
-
-               return d;
-       }
-}