about summary refs log tree commit diff
path: root/tests/incremental/extern_static/issue-49153.rs
blob: 72340173b5ca19bfc02bac83a665ab7bfdbfbd92 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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() {}