1 2 3 4 5 6
fn test() { let w: [int]; w[5] = 0; //! ERROR use of possibly uninitialized variable: `w` } fn main() { test(); }