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]);
}