rust/tests/ui/extern/issue-36122-accessing-externed-dst.rs
2023-01-11 09:32:08 +00:00

7 lines
139 B
Rust

fn main() {
extern "C" {
static symbol: [usize]; //~ ERROR: the size for values of type
}
println!("{}", symbol[0]);
}