diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/compress/arrows.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/compress/arrows.js b/test/compress/arrows.js index 6cb55223..c906aa4c 100644 --- a/test/compress/arrows.js +++ b/test/compress/arrows.js @@ -803,3 +803,13 @@ issue_4687_2: { expect_stdout: "PASS" node_version: ">=4" } + +issue_4772: { + input: { + var f = a => (a) + /**/ console.log(f("PASS")); + } + expect_exact: 'var f=a=>a;console.log(f("PASS"));' + expect_stdout: "PASS" + node_version: ">=4" +} |