summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1293258.js
blob: 79d4dcbd5d984e6e800afa1e6435536eb56d1f3b (plain)
1
2
3
4
5
6
7
8
9
10
try {
    function test() {
        var arr = new Int8Array(400);
        var o = new test(true);
        arr[idx] = 9;
    }
    test();
} catch(e) {
    assertEq(""+e, "InternalError: too much recursion");
}