diff --git a/tests/ui/trailing_zero_sized_array_without_repr.rs b/tests/ui/trailing_zero_sized_array_without_repr.rs index 6ac124c8b34..5b12a882aa7 100644 --- a/tests/ui/trailing_zero_sized_array_without_repr.rs +++ b/tests/ui/trailing_zero_sized_array_without_repr.rs @@ -167,6 +167,11 @@ struct ConstParamNonZeroDefault { last: [usize; N], } +struct TwoGenericParams { + field: i32, + last: [T; N], +} + type A = ConstParamZeroDefault; type B = ConstParamZeroDefault<0>; type C = ConstParamNoDefault<0>;