summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testOverRecursed3.js
blob: 100e7e762d1309bb4098d42c6bb7c7e9f848c370 (plain)
1
2
3
4
5
6
// |jit-test| error:InternalError

var x = [];
x.push(x, x); // more than one so the sort can't be optimized away
x.toString = x.sort;
x.toString();