rust/tests/ui/for-loop-while/loop-labeled-break-value.rs
2023-01-11 09:32:08 +00:00

12 lines
208 B
Rust

// run-pass
// pretty-expanded FIXME #23616
fn main() {
'outer: loop {
let _: i32 = loop { break 'outer };
}
'outer2: loop {
let _: i32 = loop { loop { break 'outer2 } };
}
}