rust/src/test/ui/issues/issue-4401.rs
2019-07-27 18:56:16 +03:00

8 lines
152 B
Rust

// run-pass
pub fn main() {
let mut count = 0;
for _ in 0..999_999 { count += 1; }
assert_eq!(count, 999_999);
println!("{}", count);
}