blob: cfa555b1e352e165f81cd08593f16db12c86b6fd [file] [log] [blame]
fn f() -> int {
let mut x: int;
while 1 == 1 { x = 10; }
return x; //~ ERROR use of possibly uninitialized variable: `x`
}
fn main() { f(); }