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

#write test.zig {
const fns = [_]fn () void{ a, b, c };
fn a() i32 {
    return 0;
}
fn b() i32 {
    return 1;
}
fn c() i32 {
    return 2;
}
export fn entry() usize {
    return @sizeOf(@TypeOf(fns));
}
#}
#update
#check errors {
test.zig:1:28: error: expected type 'fn () void', found 'fn () i32'
test.zig:1:28: note: return type 'i32' cannot cast into return type 'void'
#}
