summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1881417.js
blob: f79d7d5c332ee63ea7dfda3ff1723ce6a7fae8bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
for (let x = 0; x < 2; (function() { x++; })()) {};
function f() {
  var y = new (function () {})();
  (function () {
    Reflect.apply(y.toString, [], [0]);
  })();
}
f();
var z = [];
z.keepFailing = [];
oomTest(f, z);
dumpHeap();