diff options
Diffstat (limited to 'js/src/jit-test/tests/auto-regress/bug682563.js')
-rw-r--r-- | js/src/jit-test/tests/auto-regress/bug682563.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/auto-regress/bug682563.js b/js/src/jit-test/tests/auto-regress/bug682563.js new file mode 100644 index 000000000..5522e5f3b --- /dev/null +++ b/js/src/jit-test/tests/auto-regress/bug682563.js @@ -0,0 +1,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; + }; +} |