mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 00:08:56 +00:00
test/standalone: remove unneeded FnPtr
The behavior of this test is not affected by an extra level of indirection.
This commit is contained in:
parent
272e31227c
commit
9cad44770a
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user