Sign in
android
/
toolchain
/
rustc
/
89a0a0cd9cbd0a0138a09bd877bbc73859a8c330
/
.
/
src
/
test
/
ui
/
feature-gates
/
feature-gate-simd-ffi.rs
blob: abffa4a10010d5bc9b1278c754c3fe322b2e3177 [
file
] [
log
] [
blame
]
#![
feature
(
repr_simd
)]
#![
allow
(
dead_code
)]
#[
repr
(
simd
)]
#[
derive
(
Copy
,
Clone
)]
struct
LocalSimd
(
u8
,
u8
);
extern
"C"
{
fn
baz
()
->
LocalSimd
;
//~ ERROR use of SIMD type
fn
qux
(
x
:
LocalSimd
);
//~ ERROR use of SIMD type
}
fn
main
()
{}