summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/exceptions/bug-1791361.js
blob: 9c4432de916527a1161272314bcd9a6595d29c49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// |jit-test| skip-if: !('oomTest' in this)

oomTest(() => {
    wasmEvalText(`
      (tag $d)
      (func $anotherLocalFuncThrowsExn)
      (func throw $d)
      (func (try (do
        call $anotherLocalFuncThrowsExn
      )))
    `);
});