Index: test/mjsunit/regress/wasm/regression-643595.js |
diff --git a/test/mjsunit/regress/wasm/regression-643595.js b/test/mjsunit/regress/wasm/regression-643595.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9da074b6899ed429b1e636ee71c2c150456a00bd |
--- /dev/null |
+++ b/test/mjsunit/regress/wasm/regression-643595.js |
@@ -0,0 +1,11 @@ |
+// Copyright 2016 the V8 project authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+// |
+// Flags: --cache=code --validate-asm |
+ |
+(function f() { |
+ "use asm"; |
+ function g() { } |
+ return { g: g }; |
+})(); |