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

8 lines
134 B
Rust

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