rust/tests/incremental/extern_static/issue-49153.rs

12 lines
196 B
Rust
Raw Normal View History

// 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() {}