mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
This also includes some compiler and std changes to correct error messages which weren't properly updated before.
12 lines
312 B
Zig
12 lines
312 B
Zig
fn myFn(_: usize) void {
|
|
return;
|
|
}
|
|
pub export fn entry() void {
|
|
@call(.always_tail, myFn, .{0});
|
|
}
|
|
|
|
// error
|
|
// backend=llvm
|
|
// target=native
|
|
//
|
|
// :5:5: error: unable to perform tail call: type of function being called 'fn (usize) void' does not match type of calling function 'fn () callconv(.c) void'
|