1 // aux-build:extern-statics.rs
5 extern crate extern_statics;
13 let a = A; //~ ERROR use of extern static is unsafe
14 //~^ WARN this was previously accepted by the compiler
15 let ra = &A; //~ ERROR use of extern static is unsafe
16 //~^ WARN this was previously accepted by the compiler
17 let xa = XA; //~ ERROR use of extern static is unsafe
18 //~^ WARN this was previously accepted by the compiler
19 let xra = &XA; //~ ERROR use of extern static is unsafe
20 //~^ WARN this was previously accepted by the compiler