Index: test/mjsunit/asm/regress-660813.js |
diff --git a/test/mjsunit/regress/regress-crbug-648740.js b/test/mjsunit/asm/regress-660813.js |
similarity index 69% |
copy from test/mjsunit/regress/regress-crbug-648740.js |
copy to test/mjsunit/asm/regress-660813.js |
index e52d899852433bbe95bcc3c1de54a56b5c738d7f..e9bf5797c7f434201cf67f4862f692ca3e7a0d9b 100644 |
--- a/test/mjsunit/regress/regress-crbug-648740.js |
+++ b/test/mjsunit/asm/regress-660813.js |
@@ -2,10 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// Flags: --min-preparse-length=0 |
- |
-(function () { |
+function Module() { |
+ "use asm"; |
+ const i = 0xffffffff; |
function foo() { |
- const arguments = 42; |
+ return i; |
} |
-})() |
+} |
+Module(); |