1 // revisions: normal over_aligned
5 //~^ WARN the feature `dyn_star` is incomplete and may not be safe to use and/or cause compiler crashes
9 #[cfg_attr(over_aligned, repr(C, align(1024)))]
10 #[cfg_attr(not(over_aligned), repr(C))]
12 struct AlignedUsize(usize);
15 let x = AlignedUsize(12) as dyn* Debug;
16 //[over_aligned]~^ ERROR `AlignedUsize` needs to be a pointer-sized type