rust/src/test/run-pass/break-value.rs

3 lines
80 B
Rust
Raw Normal View History

2011-07-27 07:19:39 -05:00
fn int_id(x: int) -> int { ret x; }
2011-07-27 07:19:39 -05:00
fn main() { while true { int_id(break); } }