summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1226896.js
blob: 0af52f2ce96a249937246226dcc9076b7158641a (plain)
1
2
3
4
5
6
7
8
9
// |jit-test| --ion-pgo=on

if (!('oomTest' in this))
   quit();

oomTest(() => {
    var g = newGlobal();
    g.eval("(function() {})()");
});