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