summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/testing/bug1894586.js
blob: eb19cc0a69f1c727d181f5c18142190187f3ef1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
var it = 100;
function f() {
  if (--it < 0) {
    return;
  }
  wasmDumpIon(
    wasmTextToBinary(
      "(type $x (struct))(global $g (ref null $x) ref.null $x)(func $h)"
    )
  );
  oomTest(f);
}
f();