master
 1const S = extern struct {
 2    a: fn () callconv(.c) void,
 3};
 4comptime {
 5    _ = @sizeOf(S) == 1;
 6}
 7comptime {
 8    _ = [*c][4]fn () callconv(.c) void;
 9}
10
11// error
12//
13// :2:8: error: extern structs cannot contain fields of type 'fn () callconv(.c) void'
14// :2:8: note: type has no guaranteed in-memory representation
15// :2:8: note: use '*const ' to make a function pointer type
16// :8:13: error: C pointers cannot point to non-C-ABI-compatible type '[4]fn () callconv(.c) void'
17// :8:13: note: type has no guaranteed in-memory representation
18// :8:13: note: use '*const ' to make a function pointer type