| ... | @@ -1193,13 +1193,6 @@ test hasUniqueRepresentation { | ... | @@ -1193,13 +1193,6 @@ test hasUniqueRepresentation { |
| 1193 | | 1193 | |
| 1194 | try testing.expect(hasUniqueRepresentation(TestStruct6)); | 1194 | try testing.expect(hasUniqueRepresentation(TestStruct6)); |
| 1195 | | 1195 | |
| 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, |