diff options
Diffstat (limited to 'js/src/jit-test/tests/wasm/multi-value/regress-1628417.js')
-rw-r--r-- | js/src/jit-test/tests/wasm/multi-value/regress-1628417.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/wasm/multi-value/regress-1628417.js b/js/src/jit-test/tests/wasm/multi-value/regress-1628417.js new file mode 100644 index 0000000000..eb97b2116f --- /dev/null +++ b/js/src/jit-test/tests/wasm/multi-value/regress-1628417.js @@ -0,0 +1,11 @@ +let bytes = wasmTextToBinary(` + (module + (func $main (export "main") (result i32 i32) + (i32.const 1) + (i32.const 2) + (i32.const 0) + (br_table 0 0)))`); + +let instance = new WebAssembly.Instance(new WebAssembly.Module(bytes)); + +instance.exports.main(); |