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

#write test.zig {
export fn f() void {
    const a = return;
    _ = a;
}
#}
#update
#check errors {
test.zig:2:5: error: unreachable code
test.zig:2:15: note: control flow is diverted here
#}
