aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/labeled_continue_not_found.zig
blob: 5bc3941053e4251a1e23fa60040efcbbe548cfde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
export fn entry() void {
    var i: usize = 0;
    blah: while (i < 10) : (i += 1) {
        while (true) {
            continue :outer;
        }
    }
}

// error
//
// :5:23: error: label not found: 'outer'