aboutsummaryrefslogtreecommitdiff
path: root/compiler/tests/parser/statement_break_continue.good
blob: 92beef042529404205579056753ea12a3c94ab08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

() f()
{
    while :true break;
    while :true {
        int x;
        continue;
    }
    do {
        break;
    } while :false;
    for int i in [1,2,3] {
        if :true {
            continue;
        }
    } loopend {
    } loopempty {
    }
}