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

#write test.zig {
const Foo = extern struct {
    f: *const fn () void,
};

export fn entry() void {
    _ = (Foo{}).f;
}
#}
#update
#check errors {
test.zig:2:8: error: extern structs cannot contain fields of type '*const fn () void'
test.zig:2:8: note: extern function must specify calling convention
#}
