2024-02-16 14:02:50 -06:00
|
|
|
//@ check-pass
|
2021-04-16 09:29:11 -05:00
|
|
|
#[derive(Clone, PartialEq, Debug)]
|
|
|
|
struct Example<T, const N: usize = 1usize>([T; N]);
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let a = Example([(); 16]);
|
|
|
|
let b = a.clone();
|
|
|
|
if a != b {
|
|
|
|
let _c = format!("{:?}", a);
|
|
|
|
}
|
|
|
|
}
|