diff options
Diffstat (limited to 'js/src/jit-test/tests/wasm/regress/bug1507314.js')
-rw-r--r-- | js/src/jit-test/tests/wasm/regress/bug1507314.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/wasm/regress/bug1507314.js b/js/src/jit-test/tests/wasm/regress/bug1507314.js new file mode 100644 index 0000000000..db07593d87 --- /dev/null +++ b/js/src/jit-test/tests/wasm/regress/bug1507314.js @@ -0,0 +1,6 @@ +// |jit-test| --no-sse4 +if (!wasmCachingEnabled()) + quit(0); + +var m = wasmCompileInSeparateProcess(wasmTextToBinary('(module (func (export "run") (result i32) (i32.const 42)))')); +assertEq(new WebAssembly.Instance(m).exports.run(), 42); |