1 2 3 4 5 6 7 8
fn test() { let v: int; v += 1; //~ ERROR use of possibly uninitialized variable: `v` copy v; } fn main() { }