1 // aux-build:extern-statics.rs
3 // [thir]compile-flags: -Z thir-unsafeck
5 extern crate extern_statics;
13 let b = B; //~ ERROR use of mutable static is unsafe
14 let rb = &B; //~ ERROR use of mutable static is unsafe
15 let xb = XB; //~ ERROR use of mutable static is unsafe
16 let xrb = &XB; //~ ERROR use of mutable static is unsafe