Index: test/mjsunit/regress/wasm/regression-666741.js |
diff --git a/test/mjsunit/es6/regress/regress-594084.js b/test/mjsunit/regress/wasm/regression-666741.js |
similarity index 51% |
copy from test/mjsunit/es6/regress/regress-594084.js |
copy to test/mjsunit/regress/wasm/regression-666741.js |
index 2a427eb3d3dc3c8bd53ace1d053a1ffbed54e686..9531fc8fd2f6d86b6205609bd7ae6d66717c9bde 100644 |
--- a/test/mjsunit/es6/regress/regress-594084.js |
+++ b/test/mjsunit/regress/wasm/regression-666741.js |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
// |
-(function() { |
- function CRASH(defaultParameter = |
- (function() { function functionDeclaration() { return 0; } }())) { |
- } |
+// Flags: --random-seed=-1101427159 --enable-slow-asserts --expose-wasm |
+ |
+(function __f_7() { |
+ assertThrows(() => new WebAssembly.Memory({initial: 59199}), RangeError); |
})(); |