#zig build-obj {
--name test -fno-emit-bin
-Mroot=test.zig
#}

#write test.zig {
const MultipleChoice = union(enum(u32)) {
    A = 20,
    B = 40,
    C = 60,
    D = 1000,
    E = 60,
};
export fn entry() void {
    const x: MultipleChoice = .{ .C = {} };
    _ = x;
}
#}
#update
#check errors {
test.zig:6:9: error: enum tag value '60' for field 'E' already taken
test.zig:4:9: note: previous occurrence in field 'C'
#}
