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

#write test.zig {
const S = struct {
    a: u8,
};

export fn u() void {
    _ = @unionInit(S, "a", 5);
}
#}
#update
#check errors {
test.zig:6:20: error: expected union type, found 'test.S'
test.zig:1:11: note: struct declared here
#}
