diff options
Diffstat (limited to 'test/compress/assignment.js')
-rw-r--r-- | test/compress/assignment.js | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/test/compress/assignment.js b/test/compress/assignment.js index 191b892e..ece0185d 100644 --- a/test/compress/assignment.js +++ b/test/compress/assignment.js @@ -311,39 +311,3 @@ issue_3375: { } expect_stdout: "string" } - -issue_3402: { - options = { - assignments: true, - evaluate: true, - functions: true, - passes: 2, - reduce_vars: true, - side_effects: true, - toplevel: true, - typeofs: true, - unused: true, - } - input: { - var f = function f() { - f = 42; - console.log(typeof f); - }; - "function" == typeof f && f(); - "function" == typeof f && f(); - console.log(typeof f); - } - expect: { - function f() { - console.log(typeof f); - } - f(); - f(); - console.log(typeof f); - } - expect_stdout: [ - "function", - "function", - "function", - ] -} |