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

9 lines
131 B
Rust

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