summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/regress/bug1708124.js
blob: 3cccd59dc097bc0c572d47e5e7f89af9a6e31474 (plain)
1
2
3
4
5
6
7
8
9
// Ensure that trap reporting mechanism doesn't crash under OOM conditions.

oomTest(
  wasmEvalText(
    `(module
       (func (export "f") (result)
         unreachable))`
  ).exports.f
);