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