New test.
[mono.git] / mono / mini / basic.cs
index 9ef9afef1369a754ae0ffb7e87c81e6a1f7f3795..53fe900d5dacc5f6573d9aa89a88e96a4ffbbb2f 100644 (file)
@@ -152,6 +152,16 @@ class Tests {
                return b / 2;
        }
 
+       public static int test_2_div_fold4 () {
+               int b = -8;
+               return -(b / 4);
+       }
+
+       public static int test_2_div_fold16 () {
+               int b = 32;
+               return b / 16;
+       }
+
        public static int test_719177_div_destreg () {
                int year = 1970;
                return ((365* (year-1)) + ((year-1)/4));