X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ftests%2Funsafe-4.cs;fp=mcs%2Ftests%2Funsafe-4.cs;h=0000000000000000000000000000000000000000;hb=b0eff411fcc55fa6a7bbc5ee97bb592fe3204309;hp=41961e95571cf3c114395abb14c0c011d6c87adf;hpb=796e8a8aae4c2205d8455c26d03389da7386e455;p=mono.git diff --git a/mcs/tests/unsafe-4.cs b/mcs/tests/unsafe-4.cs deleted file mode 100644 index 41961e95571..00000000000 --- a/mcs/tests/unsafe-4.cs +++ /dev/null @@ -1,23 +0,0 @@ -// Compiler options: -unsafe - -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; - } -}