rust/tests/crashes/130970.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
183 B
Rust
Raw Permalink Normal View History

2024-09-28 13:07:54 +02:00
//@ known-bug: #130970
//@ compile-flags: -Zmir-enable-passes=+GVN -Zvalidate-mir
2024-09-28 13:07:54 +02:00
fn main() {
extern "C" {
static symbol: [usize];
}
println!("{}", symbol[0]);
}