rust/src/test/run-pass/issue-4401.rs
2013-05-19 08:16:02 -04:00

9 lines
161 B
Rust

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