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

8 lines
161 B
Rust

//@ run-pass
#![allow(unreachable_code)]
//@ pretty-expanded FIXME #23616
fn int_id(x: isize) -> isize { return x; }
pub fn main() { loop { int_id(break); } }