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

// error
// backend=stage2
// target=native
//
// :5:23: error: label not found: 'outer'