1 // https://github.com/rust-lang/rust/issues/49153 2 3 // revisions:rpass1 rpass2 4 5 extern "C" { 6 pub static __ImageBase: u8; 7 } 8 9 pub static FOO: &'static u8 = unsafe { &__ImageBase }; 10 main()11 fn main() {} 12