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