summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/codeInsight/invertIfCondition/beforeFlow4.java
blob: df0632363504f598a414434337ac68cc5fc9ddd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
// "Invert If Condition" "true"
public class C {
    public static int main(String[] args) {
        <caret>if (a) return 2;
        foo();
        return 1;
    }

    private static void foo() {
    }
}