Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
duplicate_field_in_discarded_anon_init.zig
pretty
plain
permalink
blame
history
•
9 lines
•
191 B
1
pub export fn entry() void {
2
_ = .{ .a = 0, .a = 1 };
3
}
4
5
// error
6
//
7
// :2:13: error: duplicate struct field name
8
// :2:21: note: duplicate name here
9
// :2:10: note: struct declared here