mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +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] };
|
|
}
|