blob: abffa4a10010d5bc9b1278c754c3fe322b2e3177 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#![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() {}
|