1 2 3 4 5 6 7 8 9 10 11
// Regression test for #82792. // run-pass #[repr(C)] pub struct Loaf<T: Sized, const N: usize = 1> { head: [T; N], slice: [T], } fn main() {}