adapt tests

This commit is contained in:
Tim Neumann 2016-10-25 19:56:36 +02:00
parent 9eb0fd98c6
commit 1422ac9a8f
6 changed files with 14 additions and 2 deletions

View File

@ -12,6 +12,9 @@
// 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"]

View File

@ -8,6 +8,9 @@
// 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;

View File

@ -8,7 +8,7 @@
// 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);
}

View File

@ -8,7 +8,7 @@
// 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
}

View File

@ -8,6 +8,9 @@
// 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);

View File

@ -8,6 +8,9 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-arm
// ignore-aarch64
#![feature(abi_vectorcall)]
trait A {