2023-10-16 20:06:52 -05:00
|
|
|
#[repr(C, Rust)] //~ ERROR conflicting representation hints
|
|
|
|
struct S {
|
|
|
|
a: i32,
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#[repr(Rust)] //~ ERROR conflicting representation hints
|
|
|
|
#[repr(C)]
|
|
|
|
struct T {
|
|
|
|
a: i32,
|
|
|
|
}
|
|
|
|
|
|
|
|
#[repr(Rust, u64)] //~ ERROR conflicting representation hints
|
|
|
|
enum U {
|
|
|
|
V,
|
|
|
|
}
|
|
|
|
|
|
|
|
#[repr(Rust, simd)]
|
|
|
|
//~^ ERROR conflicting representation hints
|
|
|
|
//~| ERROR SIMD types are experimental and possibly buggy
|
2024-08-22 03:28:20 -05:00
|
|
|
struct F32x4([f32; 4]);
|
2023-10-16 20:06:52 -05:00
|
|
|
|
|
|
|
fn main() {}
|