summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1544386-2.js
blob: 69c3bad79923fce741811a4c01149b5076467978 (plain)
1
2
3
4
5
6
7
8
9
10
x = [];
x.unshift(4, 8);
y = [];
relazifyFunctions();
y[3] = 9;
y.__proto__ = x;
for (var i = 0; i < 2; ++i) {
    y.shift();
}
assertEq(y[0], 8);