diff options
| author | r00ster91 <r00ster91@proton.me> | 2022-12-16 18:05:21 +0100 |
|---|---|---|
| committer | r00ster91 <r00ster91@proton.me> | 2022-12-18 13:31:38 +0100 |
| commit | ceff03f3e96a9c51dc24e21b1f343f2b2650e2aa (patch) | |
| tree | 68390ee9675cbaabe61892a879af0840293c66f8 /test/behavior/type.zig | |
| parent | aac2d6b56f32134ea32fb3d984e3fcdfddd8aaf6 (diff) | |
| download | zig-ceff03f3e96a9c51dc24e21b1f343f2b2650e2aa.tar.gz zig-ceff03f3e96a9c51dc24e21b1f343f2b2650e2aa.zip | |
std.builtin: remove layout field from Type.Enum
Diffstat (limited to 'test/behavior/type.zig')
| -rw-r--r-- | test/behavior/type.zig | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/behavior/type.zig b/test/behavior/type.zig index 157eff81e8..325bf0a8ed 100644 --- a/test/behavior/type.zig +++ b/test/behavior/type.zig @@ -354,7 +354,6 @@ test "Type.Enum" { const Foo = @Type(.{ .Enum = .{ - .layout = .Auto, .tag_type = u8, .fields = &.{ .{ .name = "a", .value = 1 }, @@ -369,7 +368,6 @@ test "Type.Enum" { try testing.expectEqual(@as(u8, 5), @enumToInt(Foo.b)); const Bar = @Type(.{ .Enum = .{ - .layout = .Auto, .tag_type = u32, .fields = &.{ .{ .name = "a", .value = 1 }, @@ -424,7 +422,6 @@ test "Type.Union" { const Tag = @Type(.{ .Enum = .{ - .layout = .Auto, .tag_type = u1, .fields = &.{ .{ .name = "signed", .value = 0 }, @@ -456,7 +453,6 @@ test "Type.Union from Type.Enum" { const Tag = @Type(.{ .Enum = .{ - .layout = .Auto, .tag_type = u0, .fields = &.{ .{ .name = "working_as_expected", .value = 0 }, |
