mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
12 lines
197 B
Rust
12 lines
197 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() {}
|