2005-05-28 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mono / mini / basic.cs
index 96eac959b0cf66fd851762ffb6aa7c9c29b6d707..75acafa8680b615042931b0f96be94527bf1158b 100644 (file)
@@ -755,15 +755,6 @@ class Tests {
                return 0;
        }
 
-       public static unsafe int test_0_pin_string () {
-               string x = "xxx";
-               fixed (char *c = x) {
-                       if (*c != 'x')
-                               return 1;
-               }
-               return 0;
-       }
-
        public static int test_3_shift_regalloc () {
                int shift = 8;
                int orig = 1;
@@ -927,33 +918,9 @@ class Tests {
                
                return n;
        }
-       
-       public static int my_flags;
+
        public static int test_0_and_cmp ()
        {
-               
-               /* various forms of test [mem], imm */
-               
-               my_flags = 0x01020304;
-               
-               if ((my_flags & 0x01020304) == 0)
-                       return 1;
-               
-               if ((my_flags & 0x00000304) == 0)
-                       return 2;
-               
-               if ((my_flags & 0x00000004) == 0)
-                       return 3;
-               
-               if ((my_flags & 0x00000300) == 0)
-                       return 4;
-               
-               if ((my_flags & 0x00020000) == 0)
-                       return 5;
-               
-               if ((my_flags & 0x01000000) == 0)
-                       return 6;
-               
                /* test esi, imm */
                int local = 0x01020304;
                
@@ -974,7 +941,7 @@ class Tests {
                
                if ((local & 0x01000000) == 0)
                        return 12;
-               
+
                return 0;
        }