Commit b074299124

Andrew Kelley <andrew@ziglang.org>
2025-09-06 04:45:07
std: update for new packed union rules
1 parent b9a6343
Changed files (1)
lib
lib/std/meta.zig
@@ -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,