summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1226896.js
blob: 0b8c513cc8d454c6b7fa6c8e47aaf655f1f15df9 (plain)
1
2
3
4
5
6
// |jit-test| --ion-pruning=on; skip-if: !('oomTest' in this)

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