fix corner case in unused (#5706)

fixes #5705
This commit is contained in:
Alex Lam S.L
2022-10-10 01:02:23 +01:00
committed by GitHub
parent ed7051b9bb
commit bccb1c3bd9
3 changed files with 22 additions and 7 deletions

View File

@@ -584,9 +584,7 @@ issue_4668: {
}
expect: {
console.log(function f() {
(function g() {
0;
})();
(function g() {})();
}());
}
expect_stdout: "undefined"