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

// error
//
// :4:20: error: label not found: 'outer'