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

#![feature(const_generics)]
//~^ WARN the feature `const_generics` is incomplete and may cause the compiler to crash

use std::mem::MaybeUninit;

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

fn main() {}