blob: 091dc479ef3d4bd1c192f277ed8fb6a8adc53f98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#[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() {}
|