// llvm. Also checks that the abi-sysv64 feature gate allows usage
// of the sysv64 abi.
+// ignore-arm
+// ignore-aarch64
+
// compile-flags: -C no-prepopulate-passes
#![crate_type = "lib"]
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+// ignore-arm
+// ignore-aarch64
+
// compile-flags: -C no-prepopulate-passes
struct Foo;
// option. This file may not be copied, modified, or distributed
// except according to those terms.
-fn baz(f: extern "stdcall" fn(usize, ...)) {
+fn baz(f: extern "cdecl" fn(usize, ...)) {
//~^ ERROR: variadic function must have C calling convention
f(22, 44);
}
// option. This file may not be copied, modified, or distributed
// except according to those terms.
-extern "stdcall" {
+extern "cdecl" {
fn printf(_: *const u8, ...); //~ ERROR: variadic function must have C calling convention
}
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+// ignore-arm
+// ignore-aarch64
+
trait A {
extern "fastcall" fn test1(i: i32);
extern fn test2(i: i32);
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+// ignore-arm
+// ignore-aarch64
+
#![feature(abi_vectorcall)]
trait A {