diff options
Diffstat (limited to 'test/compress')
-rw-r--r-- | test/compress/properties.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/compress/properties.js b/test/compress/properties.js index c2c43f69..c8a85697 100644 --- a/test/compress/properties.js +++ b/test/compress/properties.js @@ -804,3 +804,21 @@ issue_2256: { g.keep = g.g; } } + +lhs_prop: { + options = { + evaluate: true, + unsafe: true, + } + input: { + console.log(++{ + a: 1 + }.a); + } + expect: { + console.log(++{ + a: 1 + }.a); + } + expect_stdout: "2" +} |