std: update for new packed union rules

This commit is contained in:
Andrew Kelley 2025-09-05 19:45:07 -07:00
parent b9a63433b7
commit b074299124

View File

@ -1193,13 +1193,6 @@ test hasUniqueRepresentation {
try testing.expect(hasUniqueRepresentation(TestStruct6));
const TestUnion1 = packed union {
a: u32,
b: u16,
};
try testing.expect(!hasUniqueRepresentation(TestUnion1));
const TestUnion2 = extern union {
a: u32,
b: u16,