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-4.cs')
-rwxr-xr-xmcs/tests/unsafe-4.cs21
1 files changed, 0 insertions, 21 deletions
diff --git a/mcs/tests/unsafe-4.cs b/mcs/tests/unsafe-4.cs
deleted file mode 100755
index 730bb4915a1..00000000000
--- a/mcs/tests/unsafe-4.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-unsafe class X {
- static int v;
- static int v_calls;
-
- static int* get_v ()
- {
- v_calls++;
- return &v;
- }
-
- static int Main ()
- {
- if ((*get_v ())++ != 0)
- return 1;
- if (v != 1)
- return 2;
- if (v_calls != 1)
- return 3;
- return 0;
- }
-}