blob: 091dc479ef3d4bd1c192f277ed8fb6a8adc53f98 [file] [log] [blame]
#[repr(simd)] //~ ERROR: SIMD types are experimental
struct Foo([u64; 2]);
#[repr(C)] //~ ERROR conflicting representation hints
//~^ WARN this was previously accepted
#[repr(simd)] //~ ERROR: SIMD types are experimental
struct Bar([u64; 2]);
#[repr(simd)] //~ ERROR: SIMD types are experimental
//~^ ERROR: attribute should be applied to a struct
union U {f: u32}
#[repr(simd)] //~ ERROR: SIMD types are experimental
//~^ error: attribute should be applied to a struct
enum E { X }
fn main() {}