diff options
Diffstat (limited to 'test/compress/pure_getters.js')
-rw-r--r-- | test/compress/pure_getters.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/compress/pure_getters.js b/test/compress/pure_getters.js index b6e42f9d..54c89c6d 100644 --- a/test/compress/pure_getters.js +++ b/test/compress/pure_getters.js @@ -1187,3 +1187,23 @@ drop_arguments: { } expect_stdout: "PASS" } + +issue_3427: { + options = { + assignments: true, + collapse_vars: true, + inline: true, + pure_getters: "strict", + sequences: true, + side_effects: true, + toplevel: true, + unused: true, + } + input: { + var a; + (function(b) { + b.p = 42; + })(a || (a = {})); + } + expect: {} +} |