aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/for_extra_condition.zig
blob: fd6305ec230efa3a984eef68f8289015d3fa9be1 (plain)
1
2
3
4
5
6
7
8
9
export fn a() void {
    for (0..10, 10..20) |i| {
        _ = i;
    }
}

// error
//
// :2:19: error: for input is not captured