rustc/tests/ui/for-loop-while/break-value.rs
2023-08-02 10:33:26 +02: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); } }