blob: a1cdd58a3367303656a5669bfce4858e06a9bcec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// zig fmt: off
export fn b() void {
for (0..10) |i, j| {
_ = i;
_ = j;
}
}
// zig fmt: on
// error
// backend=stage2
// target=native
//
// :3:21: error: extra capture in for loop
|