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