summaryrefslogtreecommitdiffstats
path: root/tests/ui/for-loop-while/long-while.rs
blob: 529cca7b73167efd7d28b361b1f71979de6b6ef9 (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;
    }
}