0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-11-21 22:01:17 +01:00
rust/tests/crashes/130970.rs
2024-09-29 11:58:09 +02:00

10 lines
176 B
Rust

//@ known-bug: #130970
//@ compile-flags: -Zmir-opt-level=5 -Zvalidate-mir
fn main() {
extern "C" {
static symbol: [usize];
}
println!("{}", symbol[0]);
}