diff options
Diffstat (limited to 'test/compress/issue-640.js')
-rw-r--r-- | test/compress/issue-640.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/compress/issue-640.js b/test/compress/issue-640.js index 394d6ba2..b0a165f5 100644 --- a/test/compress/issue-640.js +++ b/test/compress/issue-640.js @@ -84,6 +84,7 @@ wrongly_optimized: { options = { booleans: true, conditionals: true, + dead_code: true, evaluate: true, expression: true, } @@ -99,8 +100,8 @@ wrongly_optimized: { function func() { foo(); } - // TODO: optimize to `func(), bar()` - if (func(), 1) bar(); + func(), 1; + bar(); } } |