rust/src/test/run-pass/issue-4401.rs

9 lines
158 B
Rust

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