zig/test/cases/break_continue.3.zig

11 lines
146 B
Zig

pub fn main() void {
var i: u64 = 0;
foo: while (true) : (i += 1) {
if (i == 4) return;
continue :foo;
}
}
// run
//