One more test
This commit is contained in:
parent
5b78907be7
commit
d25b4eeefb
1 changed files with 5 additions and 0 deletions
|
@ -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>;
|
||||
|
|
Loading…
Reference in a new issue