Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
calling_function_with_naked_calling_convention.zig
pretty
plain
permalink
blame
history
•
9 lines
•
195 B
1
export fn entry() void {
2
foo();
3
}
4
fn foo() callconv(.naked) void {}
5
6
// error
7
//
8
// :2:5: error: unable to call function with calling convention 'naked'
9
// :4:1: note: function declared here