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

#write test.zig {
const S = extern struct {
    a: fn () callconv(.c) void,
};
comptime {
    _ = @sizeOf(S) == 1;
}
#}
#update
#check errors {
test.zig:2:8: error: extern structs cannot contain fields of type 'fn () callconv(.c) void'
test.zig:2:8: note: type has no guaranteed in-memory representation
test.zig:2:8: note: use '*const ' to make a function pointer type
#}
