rust/src/test/run-pass/issue-4401.rs
2013-03-29 16:39:08 -07:00

9 lines
160 B
Rust

pub fn main() {
let mut count = 0;
for 999_999.times() {
count += 1;
}
assert!(count == 999_999);
io::println(fmt!("%u", count));
}