Skip to content

Commit

Permalink
adapt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TimNN committed Oct 25, 2016
1 parent 9eb0fd9 commit 1422ac9
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/test/codegen/abi-sysv64.rs
Expand Up @@ -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"]
Expand Down
3 changes: 3 additions & 0 deletions src/test/codegen/issue-32364.rs
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/test/compile-fail/variadic-ffi-2.rs
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/compile-fail/variadic-ffi.rs
Expand Up @@ -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
}

Expand Down
3 changes: 3 additions & 0 deletions src/test/run-pass/extern-methods.rs
Expand Up @@ -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);
Expand Down
3 changes: 3 additions & 0 deletions src/test/run-pass/extern-vectorcall.rs
Expand Up @@ -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 {
Expand Down

0 comments on commit 1422ac9

Please sign in to comment.