Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
export_generic_function.zig
pretty
plain
permalink
blame
history
•
9 lines
•
197 B
1
export fn foo(num: anytype) i32 {
2
_ = num;
3
return 0;
4
}
5
6
// error
7
// target=x86_64-linux
8
//
9
// :1:15: error: generic parameters not allowed in function with calling convention 'x86_64_sysv'