blob: 2fdeae5f1853a4d2921accb1c31002afbe942fbb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// build-pass
pub const fn f<T, const N: usize>(_: [std::mem::MaybeUninit<T>; N]) {}
pub struct Blubb<T>(*const T);
pub const fn g<T, const N: usize>(_: [Blubb<T>; N]) {}
pub struct Blorb<const N: usize>([String; N]);
pub const fn h(_: Blorb<0>) {}
pub struct Wrap(Blorb<0>);
pub const fn i(_: Wrap) {}
fn main() {}
|