summaryrefslogtreecommitdiffstats
path: root/src/test/ui/feature-gates/feature-gate-repr-simd.rs
blob: c527404f57270c732d6c5e17ab5cc6f02d43180d (plain)
1
2
3
4
5
6
7
8
9
#[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() {}