blob: c01d8a0784556d93b4b6af8c00f8aecf5906ce4a [file] [log] [blame]
// break and continue formatting
#![feature(loop_break_value)]
fn main() {
'a: loop {
break 'a;
}
let mut done = false;
'b: while !done {
done = true;
continue 'b;
}
let x = loop {
break 5;
};
let x = 'c: loop {
break 'c 5;
};
}