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

8 lines
159 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); } }