mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
10 lines
165 B
Rust
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]);
|
|
}
|