summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/multi-value/regress-1629496.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/wasm/multi-value/regress-1629496.js')
-rw-r--r--js/src/jit-test/tests/wasm/multi-value/regress-1629496.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/wasm/multi-value/regress-1629496.js b/js/src/jit-test/tests/wasm/multi-value/regress-1629496.js
new file mode 100644
index 0000000000..220fcf8d3d
--- /dev/null
+++ b/js/src/jit-test/tests/wasm/multi-value/regress-1629496.js
@@ -0,0 +1,9 @@
+let bytes = wasmTextToBinary(`
+ (module
+ (func $f (param) (result i32 i32)
+ (local i32)
+ (loop)
+ (i32.const 0)
+ (i32.const 1)))`);
+
+new WebAssembly.Instance(new WebAssembly.Module(bytes));