NaCl runtime fixes
[mono.git] / mono / mini / basic-float.cs
index 96f1ef5f317996fc5b84a5e91c57331616bd99fb..bf8c50cb4221eb5183e03fca31a97fe1152f2cf3 100644 (file)
@@ -28,8 +28,8 @@ using System.Reflection;
 
 class Tests {
 
-       public static int Main () {
-               return TestDriver.RunTests (typeof (Tests));
+       public static int Main (string[] args) {
+               return TestDriver.RunTests (typeof (Tests), args);
        }
        
        public static int test_0_beq () {
@@ -207,6 +207,10 @@ class Tests {
                ulong b = (ulong)d;
                if (b != 1000)
                        return 0;
+               a = 0xffffffffffffffff;
+               float f = (float)a;
+               if (!(f > 0f))
+                       return 1;
                return 4;
        }