1 #![feature(abi_efiapi)]
3 fn efiapi(f: extern "efiapi" fn(usize, ...)) {
4 //~^ ERROR: C-variadic function must have a compatible calling convention, like `C` or `cdecl`
5 //~^^ ERROR: using calling conventions other than `C` or `cdecl` for varargs functions is unstable
8 fn sysv(f: extern "sysv64" fn(usize, ...)) {
9 //~^ ERROR: C-variadic function must have a compatible calling convention, like `C` or `cdecl`
10 //~^^ ERROR: using calling conventions other than `C` or `cdecl` for varargs functions is unstable
13 fn win(f: extern "win64" fn(usize, ...)) {
14 //~^ ERROR: C-variadic function must have a compatible calling convention, like `C` or `cdecl`
15 //~^^ ERROR: using calling conventions other than `C` or `cdecl` for varargs functions is unstable