crashes: more tests
This commit is contained in:
parent
851f698682
commit
6d3aee2ab6
7 changed files with 89 additions and 0 deletions
9
tests/crashes/130970.rs
Normal file
9
tests/crashes/130970.rs
Normal 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]);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue