mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +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]);
|
||
|
}
|