f571e46ddb
compile-fail tests, run-fail tests, and run-pass tests.
7 lines
134 B
Rust
7 lines
134 B
Rust
pub fn main() {
|
|
let mut count = 0;
|
|
999_999.times(|| count += 1);
|
|
assert_eq!(count, 999_999);
|
|
println!("{}", count);
|
|
}
|