Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/tests/unsafe-3.cs')
-rw-r--r--mcs/tests/unsafe-3.cs31
1 files changed, 0 insertions, 31 deletions
diff --git a/mcs/tests/unsafe-3.cs b/mcs/tests/unsafe-3.cs
deleted file mode 100644
index 371b5bcdac2..00000000000
--- a/mcs/tests/unsafe-3.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-// this tests making a pointer to a pointer
-
-using System;
-
-unsafe class Foo
-{
- public static int Main ()
- {
- int a;
- int *b;
- int **c;
-
- a = 42;
- b = &a;
- c = &b;
-
- Console.WriteLine ("*c == b : {0}", *c == b);
- Console.WriteLine ("**c == a : {0}", **c == a);
-
- if (*c == b && **c == a)
- {
- Console.WriteLine ("Test passed");
- return 0;
- }
- else
- {
- Console.WriteLine ("Test failed");
- return 1;
- }
- }
-}