summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug682563.js
blob: 5522e5f3b23eab26e192d0918bb7add446a62883 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Binary: cache/js-dbg-64-9a0172368402-linux
// Flags: -m -n
//
var TITLE = "Labeled statements";
LabelTest(0, 0);
function LabelTest(limit, expect) {
    woo: for (var result = 0; limit<100; result++,limit++) {
        if (result == limit) {
            result = 'Error';
        } else "$0$00" || this ? TITLE : 1;
    };
}