Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
794181788d94b7bc9e4717b97313f525054c4710
/
.
/
src
/
test
/
ui
/
feature-gates
/
feature-gate-simd-ffi.rs
blob: 0425e39e67745bee15394a8552637525b0acba0c [
file
] [
log
] [
blame
]
#![
feature
(
repr_simd
)]
#![
allow
(
dead_code
)]
#[
repr
(
simd
)]
#[
derive
(
Copy
,
Clone
)]
struct
LocalSimd
(
u8
,
u8
);
extern
{
fn
baz
()
->
LocalSimd
;
//~ ERROR use of SIMD type
fn
qux
(
x
:
LocalSimd
);
//~ ERROR use of SIMD type
}
fn
main
()
{}