rust/tests/ui/for-loop-while/loop-break-cont-1.rs
2024-02-16 20:02:50 +00:00

10 lines
93 B
Rust

//@ run-pass
pub fn main() {
let _i = 0_usize;
loop {
break;
}
assert!(true);
}