11 lines
199 B
Zig
11 lines
199 B
Zig
export fn foo(num: anytype) i32 {
|
|
_ = num;
|
|
return 0;
|
|
}
|
|
|
|
// error
|
|
// backend=stage2
|
|
// target=native
|
|
//
|
|
// :1:20: error: generic parameters not allowed in function with calling convention 'C'
|