summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/regress/bug1311019.js
blob: db977d108493b79ed28369e589718a9c87dca131 (plain)
1
2
3
4
5
6
7
8
9
10
11
load(libdir + "wasm.js");

new WebAssembly.Module(wasmTextToBinary(`(module
    (memory 1)
    (func
        (i64.trunc_s/f32 (f32.const 6.96875))
        (i32.load8_s (i32.const 0))
        (f32.const -7.66028056e-31)
        (unreachable)
    )
)`));