rust/src/test/run-pass/issue-3211.rs
2013-03-29 16:39:08 -07:00

9 lines
140 B
Rust

pub fn main() {
let mut x = 0;
for 4096.times {
x += 1;
}
assert!(x == 4096);
io::println(fmt!("x = %u", x));
}