| ... | ... | @@ -1020,7 +1020,7 @@ test "containers with single-field enums" { |
| 1020 | 1020 | try comptime S.doTheTest(); |
| 1021 | 1021 | } |
| 1022 | 1022 | |
| 1023 | | test "@unionInit on union with tag but no fields" { |
| 1023 | test "@unionInit on union with u8 tag but no fields" { |
| 1024 | 1024 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO |
| 1025 | 1025 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 1026 | 1026 | |
| ... | ... | @@ -1036,10 +1036,6 @@ test "@unionInit on union with tag but no fields" { |
| 1036 | 1036 | } |
| 1037 | 1037 | }; |
| 1038 | 1038 | |
| 1039 | | comptime { |
| 1040 | | assert(@sizeOf(Data) == 1); |
| 1041 | | } |
| 1042 | | |
| 1043 | 1039 | fn doTheTest() !void { |
| 1044 | 1040 | var data: Data = .{ .no_op = {} }; |
| 1045 | 1041 | _ = &data; |