mirror of
https://github.com/rust-lang/rust
synced 2024-09-06 01:11:17 +00:00
13 lines
250 B
Rust
13 lines
250 B
Rust
//@ build-fail
|
|
|
|
#![feature(repr_simd)]
|
|
|
|
//@ error-pattern:monomorphising SIMD type `S` with a non-primitive-scalar (integer/float/pointer) element type `*mut [u8]`
|
|
|
|
#[repr(simd)]
|
|
struct S([*mut [u8]; 4]);
|
|
|
|
fn main() {
|
|
let _v: Option<S> = None;
|
|
}
|