rust/tests/crashes/131347.rs

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

10 lines
200 B
Rust
Raw Normal View History

2024-10-09 13:34:45 +00:00
//@ known-bug: #131347
//@ compile-flags: -Zmir-enable-passes=+GVN -Zmir-enable-passes=+Inline -Zvalidate-mir
2024-10-09 13:34:45 +00:00
struct S;
static STUFF: [i8] = [0; S::N];
fn main() {
assert_eq!(STUFF, [0; 63]);
}