Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit d25b4ee

Browse files
committed
One more test
1 parent 5b78907 commit d25b4ee

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/ui/trailing_zero_sized_array_without_repr.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,11 @@ struct ConstParamNonZeroDefault<const N: usize = 1> {
167167
last: [usize; N],
168168
}
169169

170+
struct TwoGenericParams<T, const N: usize> {
171+
field: i32,
172+
last: [T; N],
173+
}
174+
170175
type A = ConstParamZeroDefault;
171176
type B = ConstParamZeroDefault<0>;
172177
type C = ConstParamNoDefault<0>;

0 commit comments

Comments
 (0)