summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-978802.js
blob: 42b35534880d1a5690bdeea91dce53cc3b0fa6cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
oomTest(() => {
    try {
        var max = 400;
        function f(b) {
            if (b) {
                f(b - 1);
            } else {
                g = {};
            }
            g.apply(null, arguments);
        }
        f(max - 1);
    } catch(exc0) {}
    f();
});