test/standalone: remove unneeded FnPtr

The behavior of this test is not affected by an extra level of
indirection.
This commit is contained in:
Jacob Young 2022-10-03 10:28:30 -04:00
parent 272e31227c
commit 9cad44770a

View File

@ -1,7 +1,7 @@
fn b(comptime T: type) ?@import("std").meta.FnPtr(fn () error{}!T) {
fn b(comptime T: type) ?*const fn () error{}!T {
return null;
}
export fn c() void {
export fn entry() void {
_ = b(void);
}