master
 1extern fn foo(comptime x: i32, y: i32) i32;
 2fn f() i32 {
 3    return foo(1, 2);
 4}
 5pub extern fn entry1(b: u32, comptime a: [2]u8, c: i32) void;
 6pub extern fn entry2(b: u32, noalias a: anytype, i43) void;
 7comptime {
 8    _ = &f;
 9}
10comptime {
11    _ = &entry1;
12}
13comptime {
14    _ = &entry2;
15}
16
17// error
18// target=x86_64-linux
19//
20// :1:15: error: comptime parameters not allowed in function with calling convention 'x86_64_sysv'
21// :5:30: error: comptime parameters not allowed in function with calling convention 'x86_64_sysv'
22// :6:30: error: generic parameters not allowed in function with calling convention 'x86_64_sysv'