rust/tests/incremental/extern_static/issue-49153.rs
2023-01-11 09:32:08 +00:00

12 lines
196 B
Rust

// https://github.com/rust-lang/rust/issues/49153
// revisions:rpass1 rpass2
extern "C" {
pub static __ImageBase: u8;
}
pub static FOO: &'static u8 = unsafe { &__ImageBase };
fn main() {}