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

#write test.zig {
const U = union(enum(comptime_int)) { a: u32 };
comptime {
    const u: U = .{ .a = 123 };
    _ = u;
}
#}
#update
#check errors {
test.zig:1:22: error: expected integer tag type, found 'comptime_int'
#}
