diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/compress/collapse_vars.js | 2 | ||||
-rw-r--r-- | test/compress/hoist_vars.js | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/test/compress/collapse_vars.js b/test/compress/collapse_vars.js index 071ee162..449ce3d5 100644 --- a/test/compress/collapse_vars.js +++ b/test/compress/collapse_vars.js @@ -4724,7 +4724,7 @@ cascade_statement: { } function f3(a, b) { for (; a < b; a++) - if ((c = a) && b) + if (c = a, a && b) var c = c = b(a); } } diff --git a/test/compress/hoist_vars.js b/test/compress/hoist_vars.js index a6efa7af..4ca2ce5b 100644 --- a/test/compress/hoist_vars.js +++ b/test/compress/hoist_vars.js @@ -232,8 +232,9 @@ issue_4736: { expect: { (function() { (function() { + var b = 1 << 30; 0, - console.log(1073741824); + console.log(b); })(); })(); } |