summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1654186.js
blob: e6db718bb209e36cb70102951a14dab708822b4a (plain)
1
2
3
4
5
6
7
8
// |jit-test| allow-oom; skip-if: !hasFunction.oomAfterAllocations

gczeal(14, 5);
var g = newGlobal();
g.eval("(" + function() {
    oomAfterAllocations(100);
} + ")()");
f.x("");