aboutsummaryrefslogtreecommitdiff
path: root/compiler/tests/verifier/statement_if.bad
blob: aaa0d52f8eb4946f31331015e2ddaca524776314 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

() f() {
    int intval;

    if :true {
        bool i = intval; // ERROR
    } else {
        bool j = intval; // ERROR
    }
    
    if intval { } // ERROR
}