aboutsummaryrefslogtreecommitdiff
path: root/test/compress/issue-59.js
blob: 4e2411fd077986d290d4e4189624ab65a57916e3 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
keep_continue: {
    options = {
        dead_code: true,
        evaluate: true,
    }
    input: {
        while (a) {
            if (b) {
                switch (true) {
                  case c():
                    d();
                }
                continue;
            }
            f();
        }
    }
    expect: {
        while (a) {
            if (b) {
                switch (true) {
                  case c():
                    d();
                }
                continue;
            }
            f();
        }
    }
}