aboutsummaryrefslogtreecommitdiff
path: root/test/compress/functions.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress/functions.js')
-rw-r--r--test/compress/functions.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/compress/functions.js b/test/compress/functions.js
index c8efc12c..f411afa2 100644
--- a/test/compress/functions.js
+++ b/test/compress/functions.js
@@ -468,11 +468,9 @@ issue_2114_1: {
}
expect: {
var c = 0;
- !function() {
- 0;
- }((c += 1, c = 1 + c, function() {
+ c = 1 + (c += 1), function() {
var b = void (b && (b.b += (c += 1, 0)));
- }()));
+ }();
console.log(c);
}
expect_stdout: "2"