]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-simd-ffi.rs
Rollup merge of #94068 - eholk:drop-track-field-assign, r=tmandry
[rust.git] / src / test / ui / feature-gates / feature-gate-simd-ffi.rs
1 #![feature(repr_simd)]
2 #![allow(dead_code)]
3
4 #[repr(simd)]
5 #[derive(Copy, Clone)]
6 struct LocalSimd(u8, u8);
7
8 extern "C" {
9     fn baz() -> LocalSimd; //~ ERROR use of SIMD type
10     fn qux(x: LocalSimd); //~ ERROR use of SIMD type
11 }
12
13 fn main() {}