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

#write test.zig {
export fn entry() i32 {
    var foo: i32 linksection(".text2") = 1234;
    return foo;
}
#}
#update
#check errors {
test.zig:2:30: error: cannot set section of local variable 'foo'
#}
