summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testNegativeGETELEMIndex.js
blob: da7b748121ab13ee10de0bdc25116da7f0de5da6 (plain)
1
2
3
4
5
6
function testNegativeGETELEMIndex()
{
    for (let i=0;i<3;++i) /x/[-4];
    return "ok";
}
assertEq(testNegativeGETELEMIndex(), "ok");