summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-54410.rs
blob: e3e8ca985b97007afa48f9678864e5ef933f3aba (plain)
1
2
3
4
5
6
7
8
extern "C" {
    pub static mut symbol: [i8];
    //~^ ERROR the size for values of type `[i8]` cannot be known at compilation time
}

fn main() {
    println!("{:p}", unsafe { &symbol });
}