2025-01-07 21:36:37 +01:00
|
|
|
#[repr(simd)] //~ ERROR: SIMD types are experimental
|
2024-08-22 01:28:20 -07:00
|
|
|
struct Foo([u64; 2]);
|
2015-07-13 11:35:00 -07:00
|
|
|
|
2019-12-31 21:25:16 +01:00
|
|
|
#[repr(C)] //~ ERROR conflicting representation hints
|
2020-01-28 00:27:57 +01:00
|
|
|
//~^ WARN this was previously accepted
|
2025-01-07 21:36:37 +01:00
|
|
|
#[repr(simd)] //~ ERROR: SIMD types are experimental
|
2024-08-22 01:28:20 -07:00
|
|
|
struct Bar([u64; 2]);
|
2018-10-31 02:54:56 +11:00
|
|
|
|
2025-01-07 21:36:37 +01:00
|
|
|
#[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 }
|
|
|
|
|
|
2015-07-13 11:35:00 -07:00
|
|
|
fn main() {}
|