aboutsummaryrefslogtreecommitdiff
path: root/test/compress
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress')
-rw-r--r--test/compress/ie8.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/compress/ie8.js b/test/compress/ie8.js
index 7ec8037f..4dfa7c6b 100644
--- a/test/compress/ie8.js
+++ b/test/compress/ie8.js
@@ -2398,3 +2398,25 @@ issue_3703: {
}
expect_stdout: "PASS"
}
+
+issue_3750: {
+ options = {
+ evaluate: true,
+ ie8: true,
+ }
+ input: {
+ (function(a) {
+ return function a() {
+ return a && console.log("PASS");
+ }();
+ })();
+ }
+ expect: {
+ (function(a) {
+ return function a() {
+ return a && console.log("PASS");
+ }();
+ })();
+ }
+ expect_stdout: "PASS"
+}