summaryrefslogtreecommitdiffstats
path: root/dx/tests/092-ssa-cfg-edge-cases/Blort.java
blob: a1f264ef3773d65be5096258bb85bb8ab8fdf168 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

class Blort {
    
    void testMultipleIdenticalSuccessors(int foo) {
        switch(foo) {
            case 1:
            case 2:
            case 3:
                System.out.println("foo");
            break;
        }
    }

    void testNoPrimarySuccessor() {
        try {
            throw new RuntimeException();
        } catch (RuntimeException ex){
        }
    }
}