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

() f()
{
    int intval;
    
    while :true {
        bool b = intval; // ERROR
    }
    
    while intval { } // ERROR
}