master
1export fn foo(comptime x: anytype, y: i32) i32 {
2    return x + y;
3}
4
5// error
6// target=x86_64-linux
7//
8// :1:15: error: comptime parameters not allowed in function with calling convention 'x86_64_sysv'