summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1791975.js
blob: f56f723db766d3a254717b02390bf97d9d5d027f (plain)
1
2
3
4
5
6
7
8
9
10
11
gczeal(10, 10);
try {
  throw 0;
} catch {
  for (let i = 1; i < 20 ; i++) {
    oomAtAllocation(i);
    try {
      newGlobal();
    } catch {}
  }
}