summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1214006.js
blob: 5b069e686840c2205b7f15127c5c0f79617b30c6 (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| allow-oom

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

function f() {
    eval("(function() y)()");
}
oomTest(f);
fullcompartmentchecks(true);