diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2024-08-22 01:28:20 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2024-09-09 19:39:43 -0700 |
| commit | d2309c2a9d308ddcd94c0ee8f4d2a01d1bd93560 (patch) | |
| tree | e3416e0a19bc48dafb5e725654722c460ddb4a52 /tests/codegen/simd | |
| parent | 712463de61c65033a6f333f0a14fbb65e34efc50 (diff) | |
| download | rust-d2309c2a9d308ddcd94c0ee8f4d2a01d1bd93560.tar.gz rust-d2309c2a9d308ddcd94c0ee8f4d2a01d1bd93560.zip | |
Ban non-array SIMD
Diffstat (limited to 'tests/codegen/simd')
| -rw-r--r-- | tests/codegen/simd/unpadded-simd.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/simd/unpadded-simd.rs b/tests/codegen/simd/unpadded-simd.rs index 66d9298c006..ef067a15702 100644 --- a/tests/codegen/simd/unpadded-simd.rs +++ b/tests/codegen/simd/unpadded-simd.rs @@ -7,7 +7,7 @@ #[derive(Copy, Clone)] #[repr(simd)] -pub struct int16x4_t(pub i16, pub i16, pub i16, pub i16); +pub struct int16x4_t(pub [i16; 4]); #[derive(Copy, Clone)] pub struct int16x4x2_t(pub int16x4_t, pub int16x4_t); |
