summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/exceptions/oom-construct-message.js
blob: a7820876bc3b40a192940df766eae5cc0665b804 (plain)
1
2
3
4
5
6
// |jit-test| skip-if: !('oomTest' in this)

const tag = new WebAssembly.Tag({ parameters: ["i32"] });
oomTest(() => {
  new WebAssembly.Exception(tag, []);
});