rust/src/test/ui/issues/issue-51345.rs
2019-07-27 18:56:16 +03:00

9 lines
111 B
Rust

// run-pass
#![allow(unreachable_code)]
fn main() {
let mut v = Vec::new();
loop { v.push(break) }
}