One more test

This commit is contained in:
Nathaniel Hamovitz 2021-10-18 04:22:43 -07:00
parent 5b78907be7
commit d25b4eeefb

View file

@ -167,6 +167,11 @@ struct ConstParamNonZeroDefault<const N: usize = 1> {
last: [usize; N],
}
struct TwoGenericParams<T, const N: usize> {
field: i32,
last: [T; N],
}
type A = ConstParamZeroDefault;
type B = ConstParamZeroDefault<0>;
type C = ConstParamNoDefault<0>;