aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-611.js
blob: f1f2bf9c5ad0138ef00982c1b7cb33d02470cf5e (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
issue_611: {
  options = {
        sequences: true,
        side_effects: true,
    }
  input: {
    define(function() {
      function fn() {}
      if (fn()) {
        fn();
        return void 0;
      }
    });
  }
  expect: {
    define(function() {
      function fn(){}
      if (fn()) return void fn();
    });
  }
}