fix corner case in unused (#5708)

fixes #5707
This commit is contained in:
Alex Lam S.L
2022-10-10 14:45:57 +01:00
committed by GitHub
parent bccb1c3bd9
commit 7edd10e5e5
3 changed files with 29 additions and 3 deletions

View File

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