master
1export fn entry() void {
2 const anon = .{
3 .inner = .{
4 .a = .{
5 .something = "text",
6 },
7 .a = .{},
8 },
9 };
10 _ = anon;
11}
12
13// error
14//
15// :4:14: error: duplicate struct field name
16// :7:14: note: duplicate name here
17// :3:19: note: struct declared here