authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-09-05 19:45:07-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-09-05 19:45:07-07:00
logb074299124e1403d48d9904c6ab855b7c72df9e0
treed8994f7c37c9da9d2d273e3b824c8b16fd143a8b
parentb9a63433b71e8b07691da158a136d17e1f04c49b

std: update for new packed union rules


1 files changed, 0 insertions(+), 7 deletions(-)

lib/std/meta.zig-7
...@@ -1193,13 +1193,6 @@ test hasUniqueRepresentation {...@@ -1193,13 +1193,6 @@ test hasUniqueRepresentation {
11931193
1194 try testing.expect(hasUniqueRepresentation(TestStruct6));1194 try testing.expect(hasUniqueRepresentation(TestStruct6));
11951195
1196 const TestUnion1 = packed union {
1197 a: u32,
1198 b: u16,
1199 };
1200
1201 try testing.expect(!hasUniqueRepresentation(TestUnion1));
1202
1203 const TestUnion2 = extern union {1196 const TestUnion2 = extern union {
1204 a: u32,1197 a: u32,
1205 b: u16,1198 b: u16,