diff options
Diffstat (limited to 'test/compress/arrows.js')
-rw-r--r-- | test/compress/arrows.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/compress/arrows.js b/test/compress/arrows.js index 990090b2..6d9f89d1 100644 --- a/test/compress/arrows.js +++ b/test/compress/arrows.js @@ -616,3 +616,25 @@ issue_4448: { expect_stdout: "PASS" node_version: ">=4" } + +issue_4476: { + options = { + arguments: true, + } + input: { + (function(a, b) { + (a => { + console.log(arguments[0], a); + })(b); + })("foo", "bar"); + } + expect: { + (function(a, b) { + (a => { + console.log(arguments[0], a); + })(b); + })("foo", "bar"); + } + expect_stdout: "foo bar" + node_version: ">=4" +} |