summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1223021.js
blob: bbc40aa1fb114125c927848c27740dfc91c0e7cc (plain)
1
2
3
4
5
6
7
8
9
10
11
// |jit-test| skip-if: !('oomTest' in this)

function f() {
    return this === null;
};

function g() {
    if (!f.apply(9)) {}
}

oomTest(g);