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

#write test.zig {
pub const A = B;
export fn foo() void {
    _ = @typeInfo(@This()).@"struct".decl_names[0];
}
#}
#update
#check errors {
test.zig:1:15: error: use of undeclared identifier 'B'
#}
