Index: test/mjsunit/regress/wasm/regression-665402.js |
diff --git a/test/mjsunit/regress/wasm/regression-665402.js b/test/mjsunit/regress/wasm/regression-665402.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6a2d152f927a81e65ee6d31dfa43dcbe4d0d6c76 |
--- /dev/null |
+++ b/test/mjsunit/regress/wasm/regression-665402.js |
@@ -0,0 +1,12 @@ |
+// 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: --expose-wasm |
+ |
+load("test/mjsunit/wasm/wasm-constants.js"); |
+load("test/mjsunit/wasm/wasm-module-builder.js"); |
+ |
+var wire_bytes = readbuffer("test/mjsunit/regress/wasm/665402.wasm"); |
+var module = new WebAssembly.Module(wire_bytes); |
+assertTrue(module != undefined); |