rust/tests/target/loop.rs
2015-07-15 23:33:01 +02:00

15 lines
149 B
Rust

fn main() {
loop {
return some_val;
}
let x = loop {
do_forever();
};
loop {
// Just comments
}
}