12 lines
203 B
Rust
12 lines
203 B
Rust
#![feature(box_syntax)]
|
|
#![allow(unused_variables)]
|
|
#![deny(unreachable_code)]
|
|
|
|
fn main() {
|
|
let x = loop {
|
|
continue;
|
|
println!("hi");
|
|
//~^ ERROR unreachable statement
|
|
};
|
|
}
|