rust/tests/ui/feature-gates/feature-gate-repr-simd.rs
2023-01-11 09:32:08 +00:00

10 lines
258 B
Rust

#[repr(simd)] //~ error: SIMD types are experimental
struct Foo(u64, u64);
#[repr(C)] //~ ERROR conflicting representation hints
//~^ WARN this was previously accepted
#[repr(simd)] //~ error: SIMD types are experimental
struct Bar(u64, u64);
fn main() {}