1 // FIXME https://github.com/rust-lang/rust/issues/59774
2 // normalize-stderr-test "thread.*panicked.*Metadata module not compiled.*\n" -> ""
3 // normalize-stderr-test "note:.*RUST_BACKTRACE=1.*\n" -> ""
4 // ignore-sgx no weak linkages permitted
9 #[linkage = "extern_weak"] static foo: i32;
10 //~^ ERROR: must have type `*const T` or `*mut T`
14 println!("{}", unsafe { foo });