aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-611.js
blob: 6f2c65d2df4b618a57be8e210cb81eb42e6080a3 (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();
    });
  }
}