summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/defaults/repr-c-issue-82792.rs
blob: 118da2723acfb7b3e8041dc354e88f44e4782949 (plain)
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() {}