1 const C1: &'static mut [usize] = &mut [];
2 //~^ ERROR: mutable references are not allowed
4 static mut S: usize = 3;
5 const C2: &'static mut usize = unsafe { &mut S };
6 //~^ ERROR: constants cannot refer to statics
7 //~| ERROR: constants cannot refer to statics