blob: 5740a4e8318ab7f702ab6a76c3f4d8f2a4dff777 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//@ build-fail
#![feature(repr_simd)]
#[repr(simd)]
struct S([*mut [u8]; 4]);
fn main() {
let _v: Option<S> = None;
}
//~? ERROR monomorphising SIMD type `S` with a non-primitive-scalar (integer/float/pointer) element type `*mut [u8]`
|