summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/regress/imul64-ion-negative-power-of-two.js
blob: 0fe59546d742297a24783a261ced1f65b98a4dc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
new WebAssembly.Instance(new WebAssembly.Module(wasmTextToBinary(`
(module
    (func (param i64))
    (func (export "f")
        i64.const 2
        i64.const -9223372036854775808
        i64.mul
        call 0
    )
)
`))).exports.f();