summary refs log tree commit diff
path: root/src/test/run-pass/issue-3211.rs
blob: 02e61fc7ce2ca645444e32e17748d5ae15e53bea (plain)
1
2
3
4
5
6
7
8
pub fn main() {
    let mut x = 0;
    for 4096.times {
        x += 1;
    }
    assert!(x == 4096);
    io::println(fmt!("x = %u", x));
}