Index: test/mjsunit/regress/regress-unsigned-mul-add.js |
diff --git a/test/mjsunit/regress/regress-double-property.js b/test/mjsunit/regress/regress-unsigned-mul-add.js |
similarity index 70% |
copy from test/mjsunit/regress/regress-double-property.js |
copy to test/mjsunit/regress/regress-unsigned-mul-add.js |
index 2ddb45b4b66c79600c78abfaf5b64c1a9a13927a..0a2fc65017627f9c3588b34467657b4e9395cdb2 100644 |
--- a/test/mjsunit/regress/regress-double-property.js |
+++ b/test/mjsunit/regress/regress-unsigned-mul-add.js |
@@ -3,7 +3,8 @@ |
// found in the LICENSE file. |
function f(a) { |
- return {0.1: a}; |
+ var x = a >>> 0; |
+ return (x * 1.0 + x * 1.0) << 0; |
} |
-f(); |
+assertEquals(-2, f(-1)); |