Jacob Young 9cad44770a test/standalone: remove unneeded FnPtr
The behavior of this test is not affected by an extra level of
indirection.
2022-10-03 10:28:30 -04:00

8 lines
113 B
Zig

fn b(comptime T: type) ?*const fn () error{}!T {
return null;
}
export fn entry() void {
_ = b(void);
}