aboutsummaryrefslogtreecommitdiff
path: root/compiler/tests/verifier/statement_for_array.good
blob: ff7af83992d93b7c1aa5a8357d741ed65c52988c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

() test()
{
    byte#[3] arr = [1, 2, 3];
    for byte b in arr {
    }
    
    for int i in [1, 2, 3, 4] {
    }
    
    for int#[2] arr in [[1,2], [3,4], [5,6]] {
        for int j in arr {
        }
    }
}