rust/src/test/run-pass/issue-4401.rs
2013-09-26 17:05:59 -07:00

9 lines
151 B
Rust

pub fn main() {
let mut count = 0;
do 999_999.times() {
count += 1;
}
assert_eq!(count, 999_999);
println!("{}", count);
}