summary refs log tree commit diff
path: root/tests/ui/for-loop-while/long-while.rs
blob: 6db06baa8738b20008158c5f55b4d7335f7f97c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//@ run-pass
//@ pretty-expanded FIXME #23616

#![allow(unused_variables)]

pub fn main() {
    let mut i: isize = 0;
    while i < 1000000 {
        i += 1;
        let x = 3;
    }
}