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

#write test.zig {
export fn a() void {
    comptime 1;
}
export fn b() void {
    comptime bar();
}
fn bar() u8 {
    return 2;
}
#}
#update
#check errors {
test.zig:2:5: error: value of type 'comptime_int' ignored
test.zig:2:5: note: all non-void values must be used
test.zig:2:5: note: to discard the value, assign it to '_'
test.zig:5:5: error: value of type 'u8' ignored
test.zig:5:5: note: all non-void values must be used
test.zig:5:5: note: to discard the value, assign it to '_'
#}
