#zig build-obj {
--name test -fno-emit-bin
-Mroot=test.zig
#}

#write test.zig {
fn a(b: *const fn (*const u8) void) void {
    _ = b;
}
fn c(d: u8) void {
    _ = d;
}
export fn entry() void {
    a(c);
}
#}
#update
#check errors {
test.zig:8:7: error: expected type '*const fn (*const u8) void', found '*const fn (u8) void'
test.zig:8:7: note: pointer type child 'fn (u8) void' cannot cast into pointer type child 'fn (*const u8) void'
test.zig:8:7: note: parameter 0 'u8' cannot cast into '*const u8'
#}
