summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1240503.js
blob: 167752962b70d84eb00f7e8b75bff77dafe2d8a8 (plain)
1
2
3
4
5
6
7
// |jit-test| skip-if: !('oomTest' in this)

function arrayProtoOutOfRange() {
    for (let [] = () => r, get;;)
        var r = f(i % 2 ? a : b);
}
oomTest(arrayProtoOutOfRange);