rust/src/test/run-pass/liveness-loop-break.rs
2012-08-23 11:14:14 -07:00

13 lines
120 B
Rust

fn test() {
let v;
loop {
v = 3;
break;
}
debug!("%d", v);
}
fn main() {
test();
}