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

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){
        }
    }
}