rust/tests/ui/for-loop-while/long-while.rs
2024-02-16 20:02:50 +00:00

13 lines
185 B
Rust

//@ 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;
}
}