rust/src/test/run-pass/loop-unsafe.rs

9 lines
122 B
Rust
Raw Normal View History

// Tests that "loop unsafe" isn't misparsed.
fn main() {
loop unsafe {
io::println("Hello world!");
}
}