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

#write test.zig {
export fn foo() void {
    const U = bitpack union {};
    _ = @as(U, undefined);
}
#}
#update
#check errors {
test.zig:2:23: error: bitpack union has no fields
#}
