aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/labeled_break_not_found.zig
blob: 20185d0e04a60fff9e8dca98bce6b8e787407a5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
export fn entry() void {
    blah: while (true) {
        while (true) {
            break :outer;
        }
    }
}

// error
// backend=stage2
// target=native
//
// :4:20: error: label not found: 'outer'