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

#write test.zig {
export fn foo() void {
    defer {
        1;
    }
}
#}
#update
#check errors {
test.zig:3:9: error: value of type 'comptime_int' ignored
test.zig:3:9: note: all non-void values must be used
test.zig:3:9: note: to discard the value, assign it to '_'
#}
