1
Fork 0

crashes: more tests

This commit is contained in:
Matthias Krüger 2024-09-28 13:07:54 +02:00
parent 851f698682
commit 6d3aee2ab6
7 changed files with 89 additions and 0 deletions

9
tests/crashes/130970.rs Normal file
View file

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