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

#write test.zig {
export fn entry(byte: u8) void {
    const oops: u7 = @bitCast(byte);
    _ = oops;
}
#}
#update
#check errors {
test.zig:2:22: error: @bitCast size mismatch: destination type 'u7' has 7 bits but source type 'u8' has 8 bits
#}
