1 // Checks that immutable static items can't have mutable slices 2 3 static TEST: &'static mut [isize] = &mut []; 4 //~^ ERROR mutable references are not allowed 5 main()6 pub fn main() { } 7