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

#write test.zig {
const @"u8" = u16;
export fn entry() void {
    const a: u8 = 300;
    _ = a;
}
#}
#update
#check errors {
test.zig:3:19: error: type 'u8' cannot represent integer value '300'
#}
