js/src/jit-test/tests/auto-regress/bug682563.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/auto-regress/bug682563.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,12 @@
     1.4 +// Binary: cache/js-dbg-64-9a0172368402-linux
     1.5 +// Flags: -m -n
     1.6 +//
     1.7 +var TITLE = "Labeled statements";
     1.8 +LabelTest(0, 0);
     1.9 +function LabelTest(limit, expect) {
    1.10 +    woo: for (var result = 0; limit<100; result++,limit++) {
    1.11 +        if (result == limit) {
    1.12 +            result = 'Error';
    1.13 +        } else "$0$00" || this ? TITLE : 1;
    1.14 +    };
    1.15 +}

mercurial