rust/tests/crashes/129109.rs

11 lines
192 B
Rust
Raw Normal View History

2024-08-15 15:44:16 -05:00
//@ known-bug: rust-lang/rust#129109
//@ compile-flags: -Zmir-opt-level=5 -Zvalidate-mir
extern "C" {
pub static mut symbol: [i8];
}
fn main() {
println!("C", unsafe { &symbol });
}