master
 1const S = struct {
 2    a: fn () void,
 3    b: *S,
 4};
 5pub export fn entry() void {
 6    var s: S = undefined;
 7    _ = &s;
 8}
 9
10// error
11//
12// :6:12: error: variable of type 'tmp.S' must be const or comptime
13// :2:8: note: struct requires comptime because of this field
14// :2:8: note: use '*const fn () void' for a function pointer type
15// :3:8: note: struct requires comptime because of this field