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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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