mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
10 lines
167 B
Rust
10 lines
167 B
Rust
//@ known-bug: rust-lang/rust#126359
|
|
|
|
struct OppOrder<const N: u8 = 3, T = u32> {
|
|
arr: [T; N],
|
|
}
|
|
|
|
fn main() {
|
|
let _ = OppOrder::<3, u32> { arr: [0, 0, 0] };
|
|
}
|