aboutsummaryrefslogtreecommitdiff
path: root/compiler/tests/parser/statement_for_end_empty.good
blob: 8d844cc1805057936b42a5099bec0c03cb0f92ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

() f()
{
    var count#[2] a = [1,2];
    var count#[0] b = [];
    
    for count i in a {
        for count j in b {
            // ...
        } loopend {
            
        } loopempty {
            a#[i] = 33;
        }
    } loopend {
        a#[0] = 12;
    } loopempty {
        a#[0] = 21;
    }
    
    
    for count i in b {
        // ...
    } loopempty {
        a#[1] += 1;
    }
}