diff options
Diffstat (limited to 'test/compress')
-rw-r--r-- | test/compress/numbers.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/compress/numbers.js b/test/compress/numbers.js index 0b40bb9c..ea439ecc 100644 --- a/test/compress/numbers.js +++ b/test/compress/numbers.js @@ -153,3 +153,18 @@ evaluate_4: { ); } } + +issue_1710: { + options = { + evaluate: true, + } + input: { + var x = {}; + console.log((x += 1) + -x); + } + expect: { + var x = {}; + console.log((x += 1) + -x); + } + expect_stdout: true +} |