summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/regress/bug1878673.js
blob: edf2e671877dce836ef555aa4c492419482e0d9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Check proper handling of OOM in SIMD loads.

oomTest(function () {
    let x = wasmTextToBinary(`(module
        (memory 1 1)
        (func
          i32.const 16
          v128.load8x8_s
          i16x8.abs
          drop)
        )`);
    new WebAssembly.Module(x);
});