master
1const E = enum(u0) {
2 the_only_possible_value,
3};
4
5const S = struct {};
6
7const T = extern struct {
8 foo: u0 = 0,
9 bar: void = {},
10 baz: struct {} = .{},
11 ayy: E = .the_only_possible_value,
12 arr: [0]u0 = .{},
13 matey: [128]void = [_]void{{}} ** 128,
14 running_out_of_ideas: packed struct {} = .{},
15 one_more: [256]S = [_]S{.{}} ** 256,
16};
17
18test {
19 var t: T = .{};
20 _ = &t;
21}