//@ build-fail //@ error-pattern: monomorphising SIMD type `Simd` of zero length #![feature(repr_simd)] #[repr(simd)] struct Simd([T; N]); fn main() { let _empty = Simd([1.0; 0]); }