summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug654668.js
blob: 8706c154a25349fa997e42a7c70a1390ccd31549 (plain)
1
2
3
4
5
6
7
8
9
10
var summary = 'foo';
function X(n) {
    var y = [];
    while (summary + y[0]) {
        break;
    }
}
X();

// Don't crash wthi -m -n -a