aboutsummaryrefslogtreecommitdiff
path: root/test/compress/join_vars.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress/join_vars.js')
-rw-r--r--test/compress/join_vars.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compress/join_vars.js b/test/compress/join_vars.js
index 590f9970..9f0b35b7 100644
--- a/test/compress/join_vars.js
+++ b/test/compress/join_vars.js
@@ -808,9 +808,9 @@ issue_3795: {
}
expect: {
var a = "FAIL", d = function() {
- if (a = 42, d) return -1;
+ if (void 0) return -1;
a = "PASS";
- }();
+ }(a = 42);
console.log(a, d);
}
expect_stdout: "PASS undefined"