aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/compress/reduce_vars.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/compress/reduce_vars.js b/test/compress/reduce_vars.js
index 34d358cb..c911efe0 100644
--- a/test/compress/reduce_vars.js
+++ b/test/compress/reduce_vars.js
@@ -2176,6 +2176,7 @@ issue_1670_6: {
keep_fargs: false,
reduce_funcs: true,
reduce_vars: true,
+ sequences: true,
side_effects: true,
switches: true,
unused: true,
@@ -2193,10 +2194,9 @@ issue_1670_6: {
})(1);
}
expect: {
- (function(a) {
- a = 1;
- console.log(a);
- })(1);
+ (function() {
+ console.log(1);
+ })();
}
expect_stdout: "1"
}