diff options
| author | Ralf Jung <post@ralfj.de> | 2024-05-21 14:07:02 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-05-21 19:22:04 +0200 |
| commit | 37aeb75eb6c68dfee49e9ecdbd0c46e137b28bc7 (patch) | |
| tree | 48d6dac5a32fa4848fd78f4fc59e66a4ff76027d /tests/mir-opt/const_allocation3.rs | |
| parent | e8753914580fb42554a79a4b5c5fb4cc98933231 (diff) | |
| download | rust-37aeb75eb6c68dfee49e9ecdbd0c46e137b28bc7.tar.gz rust-37aeb75eb6c68dfee49e9ecdbd0c46e137b28bc7.zip | |
don't inhibit random field reordering on repr(packed(1))
Diffstat (limited to 'tests/mir-opt/const_allocation3.rs')
| -rw-r--r-- | tests/mir-opt/const_allocation3.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mir-opt/const_allocation3.rs b/tests/mir-opt/const_allocation3.rs index 46be3e1e36e..9d2006b6fe8 100644 --- a/tests/mir-opt/const_allocation3.rs +++ b/tests/mir-opt/const_allocation3.rs @@ -7,7 +7,7 @@ fn main() { FOO; } -#[repr(packed)] +#[repr(C, packed)] struct Packed { a: [u8; 28], b: &'static i32, |
