mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
24 lines
432 B
Rust
24 lines
432 B
Rust
#[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
|
|
struct F32x4(f32, f32, f32, f32);
|
|
|
|
fn main() {}
|