about summary refs log tree commit diff
path: root/tests/codegen/union-abi.rs
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2024-08-22 01:28:20 -0700
committerScott McMurray <scottmcm@users.noreply.github.com>2024-09-09 19:39:43 -0700
commitd2309c2a9d308ddcd94c0ee8f4d2a01d1bd93560 (patch)
treee3416e0a19bc48dafb5e725654722c460ddb4a52 /tests/codegen/union-abi.rs
parent712463de61c65033a6f333f0a14fbb65e34efc50 (diff)
downloadrust-d2309c2a9d308ddcd94c0ee8f4d2a01d1bd93560.tar.gz
rust-d2309c2a9d308ddcd94c0ee8f4d2a01d1bd93560.zip
Ban non-array SIMD
Diffstat (limited to 'tests/codegen/union-abi.rs')
-rw-r--r--tests/codegen/union-abi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/union-abi.rs b/tests/codegen/union-abi.rs
index 08015014456..a1c081d7d61 100644
--- a/tests/codegen/union-abi.rs
+++ b/tests/codegen/union-abi.rs
@@ -16,7 +16,7 @@ pub enum Unhab {}
 
 #[repr(simd)]
 #[derive(Copy, Clone)]
-pub struct i64x4(i64, i64, i64, i64);
+pub struct i64x4([i64; 4]);
 
 #[derive(Copy, Clone)]
 pub union UnionI64x4 {