0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-11-28 09:36:05 +01:00
rust/tests/crashes/131347.rs
2024-10-09 15:34:45 +02:00

10 lines
165 B
Rust

//@ known-bug: #131347
//@ compile-flags: -Zmir-opt-level=5 -Zvalidate-mir
struct S;
static STUFF: [i8] = [0; S::N];
fn main() {
assert_eq!(STUFF, [0; 63]);
}