summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1240503.js
blob: cdb93a092914a94dfc16593e89b05c6b68ef4be2 (plain)
1
2
3
4
5
function arrayProtoOutOfRange() {
    for (let [] = () => r, get;;)
        var r = f(i % 2 ? a : b);
}
oomTest(arrayProtoOutOfRange);