Index: test/mjsunit/messages.js |
diff --git a/test/mjsunit/messages.js b/test/mjsunit/messages.js |
index 8dce6f0ab332cda1e0c3b895ed5f4b5a1f382193..acf94d1a898fdd58f22f15bed8bb82b54184b1f2 100644 |
--- a/test/mjsunit/messages.js |
+++ b/test/mjsunit/messages.js |
@@ -3,7 +3,7 @@ |
// found in the LICENSE file. |
// Flags: --stack-size=100 --harmony --harmony-reflect --harmony-arrays |
-// Flags: --harmony-regexps --strong-mode |
+// Flags: --harmony-regexps --harmony-simd --strong-mode |
function test(f, expected, type) { |
try { |
@@ -323,6 +323,11 @@ test(function() { |
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); |