aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-1639.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress/issue-1639.js')
-rw-r--r--test/compress/issue-1639.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/compress/issue-1639.js b/test/compress/issue-1639.js
index 1579e06e..6633eb2d 100644
--- a/test/compress/issue-1639.js
+++ b/test/compress/issue-1639.js
@@ -22,8 +22,10 @@ issue_1639_1: {
console.log(a, b);
}
expect: {
- for (var a = 100, b = 10, L1 = 5; --L1 > 0;)
- if (--b, 0) var ignore = 0;
+ for (var a = 100, b = 10, L1 = 5; --L1 > 0;) {
+ var ignore;
+ --b;
+ }
console.log(a, b);
}
expect_stdout: "100 6"