rust/src/test/run-pass/yield2.rs
2010-06-23 21:03:09 -07:00

11 lines
109 B
Rust

// -*- rust -*-
fn main() {
let int i = 0;
while (i < 100) {
i = i + 1;
log i;
yield;
}
}