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

#![allow(unused_variables)]

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