diff options
Diffstat (limited to 'test/compress/functions.js')
-rw-r--r-- | test/compress/functions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compress/functions.js b/test/compress/functions.js index 7acb7fde..dd98ba60 100644 --- a/test/compress/functions.js +++ b/test/compress/functions.js @@ -1285,7 +1285,7 @@ issue_2630_1: { expect: { var c = 0; (function() { - while (c++, void (c = 1 + c)); + while (void (c = 1 + ++c)); })(), console.log(c); } @@ -1316,7 +1316,7 @@ issue_2630_2: { expect: { var c = 0; !function() { - while (c += 1, void (c = 1 + c)); + while (void (c = 1 + (c += 1))); }(), console.log(c); } expect_stdout: "2" |