Index: test/mjsunit/constant-fold-control-instructions.js |
diff --git a/test/mjsunit/constant-fold-control-instructions.js b/test/mjsunit/constant-fold-control-instructions.js |
index d047684997a597676544f670a6f0f53dcb1dfc9a..eb1b0f3c0b70cdc2139c0d59d073b7e1b346342e 100644 |
--- a/test/mjsunit/constant-fold-control-instructions.js |
+++ b/test/mjsunit/constant-fold-control-instructions.js |
@@ -34,6 +34,10 @@ function test() { |
assertTrue(%_IsSpecObject(new Date())); |
assertFalse(%_IsSpecObject(1)); |
+ |
+ assertTrue(%_IsMinusZero(-0.0)); |
+ assertFalse(%_IsMinusZero(1)); |
+ assertFalse(%_IsMinusZero("")); |
} |