about summary refs log tree commit diff
path: root/src/test/ui/const-generics/transparent-maybeunit-array-wrapper.rs
blob: bf855d4dcaac87d7a7d33e3da12b48ebabd7d477 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// run-pass
// revisions: full min

#![cfg_attr(full, feature(const_generics))]
#![cfg_attr(full, allow(incomplete_features))]

use std::mem::MaybeUninit;

#[repr(transparent)]
pub struct MaybeUninitWrapper<const N: usize>(MaybeUninit<[u64; N]>);

fn main() {}