Commit 9cad44770a

Jacob Young <jacobly0@users.noreply.github.com>
2022-10-03 16:28:30
test/standalone: remove unneeded FnPtr
The behavior of this test is not affected by an extra level of indirection.
1 parent 272e312
Changed files (1)
test
standalone
issue_13030
test/standalone/issue_13030/main.zig
@@ -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);
 }