aboutsummaryrefslogtreecommitdiff
path: root/test/compress/reduce_vars.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress/reduce_vars.js')
-rw-r--r--test/compress/reduce_vars.js9
1 files changed, 2 insertions, 7 deletions
diff --git a/test/compress/reduce_vars.js b/test/compress/reduce_vars.js
index 3331732a..6db0a477 100644
--- a/test/compress/reduce_vars.js
+++ b/test/compress/reduce_vars.js
@@ -2071,13 +2071,8 @@ issue_1670_6: {
}
expect: {
(function(a) {
- switch (1) {
- case a = 1:
- console.log(a);
- break;
- default:
- console.log(2);
- }
+ a = 1;
+ console.log(a);
})(1);
}
expect_stdout: "1"