summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/exceptions/oom-construct-message.js
blob: 8eb515ea9b0f3ba08f948d52f479e8eaeb75cf74 (plain)
1
2
3
4
const tag = new WebAssembly.Tag({ parameters: ["i32"] });
oomTest(() => {
  new WebAssembly.Exception(tag, []);
});