1 // aux-build:extern-statics.rs
3 // [thir]compile-flags: -Z thir-unsafeck
5 extern crate extern_statics;
13 let a = A; //~ ERROR use of extern static is unsafe
14 let ra = &A; //~ ERROR use of extern static is unsafe
15 let xa = XA; //~ ERROR use of extern static is unsafe
16 let xra = &XA; //~ ERROR use of extern static is unsafe