]> git.lizzy.rs Git - rust.git/blob - tests/ui/feature-gates/feature-gate-repr-simd.rs
Rollup merge of #106427 - mejrs:translation_errors, r=davidtwco
[rust.git] / tests / ui / feature-gates / feature-gate-repr-simd.rs
1 #[repr(simd)] //~ error: SIMD types are experimental
2 struct Foo(u64, u64);
3
4 #[repr(C)] //~ ERROR conflicting representation hints
5 //~^ WARN this was previously accepted
6 #[repr(simd)] //~ error: SIMD types are experimental
7 struct Bar(u64, u64);
8
9 fn main() {}