Index: test/mjsunit/messages.js |
diff --git a/test/mjsunit/messages.js b/test/mjsunit/messages.js |
index 31c64924853db11fe6d6f8535a4f8c021b457268..30abc197e9b941bc80a038633409af23a1996dcb 100644 |
--- a/test/mjsunit/messages.js |
+++ b/test/mjsunit/messages.js |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
// Flags: --stack-size=100 --harmony |
+// Flags: --harmony-simd |
function test(f, expected, type) { |
try { |
@@ -319,6 +320,11 @@ |
1 + Symbol(); |
}, "Cannot convert a Symbol value to a number", TypeError); |
+// kSimdToNumber |
+test(function() { |
+ 1 + SIMD.Float32x4(1, 2, 3, 4); |
+}, "Cannot convert a SIMD value to a number", TypeError); |
+ |
// kUndefinedOrNullToObject |
test(function() { |
Array.prototype.toString.call(null); |