2 #![allow(non_camel_case_types)]
4 // ignore-tidy-linelength
7 struct empty; //~ ERROR SIMD vector cannot be empty
10 struct empty2([f32; 0]); //~ ERROR SIMD vector cannot be empty
13 struct i64f64(i64, f64); //~ ERROR SIMD vector should be homogeneous
18 struct FooV(Foo, Foo); //~ ERROR SIMD vector element type should be a primitive scalar (integer/float/pointer) type
21 struct FooV2([Foo; 2]); //~ ERROR SIMD vector element type should be a primitive scalar (integer/float/pointer) type
24 struct TooBig([f32; 65537]); //~ ERROR SIMD vector cannot have more than 65536 elements
27 struct JustRight([u128; 65536]);