diff options
Diffstat (limited to 'src/test/ui/simd/type-generic-monomorphisation-non-primitive.rs')
-rw-r--r-- | src/test/ui/simd/type-generic-monomorphisation-non-primitive.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/simd/type-generic-monomorphisation-non-primitive.rs b/src/test/ui/simd/type-generic-monomorphisation-non-primitive.rs deleted file mode 100644 index 0bc73b155..000000000 --- a/src/test/ui/simd/type-generic-monomorphisation-non-primitive.rs +++ /dev/null @@ -1,14 +0,0 @@ -// build-fail - -#![feature(repr_simd)] - -struct E; - -// error-pattern:monomorphising SIMD type `S<E>` with a non-primitive-scalar (integer/float/pointer) element type `E` - -#[repr(simd)] -struct S<T>([T; 4]); - -fn main() { - let _v: Option<S<E>> = None; -} |