]> git.lizzy.rs Git - rust.git/commitdiff
adapt tests
authorTim Neumann <mail@timnn.me>
Tue, 25 Oct 2016 17:56:36 +0000 (19:56 +0200)
committerTim Neumann <mail@timnn.me>
Tue, 25 Oct 2016 17:56:36 +0000 (19:56 +0200)
src/test/codegen/abi-sysv64.rs
src/test/codegen/issue-32364.rs
src/test/compile-fail/variadic-ffi-2.rs
src/test/compile-fail/variadic-ffi.rs
src/test/run-pass/extern-methods.rs
src/test/run-pass/extern-vectorcall.rs

index 2b8e8a1b6b2c79437ff0134c5f8972d1142d6048..4f6a50eab49154eea4aff0d898c06882cbd79ee4 100644 (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"]
index 926987be0e04989218644562ec2880a9f6a7277a..401253a315fbf8304c5d388e063395a29d709658 100644 (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;
index 1d519c978a35c4211ffe91dc1ec1429841545aeb..afcad9d8f96141121e596ac223125d8bd9d29b5c 100644 (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);
 }
index 129421784930b47feabb627757903dd83123bb3b..af2b552e20f14ecfa812bae98a6d08006f8c96bb 100644 (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
 }
 
index 421b19f2864fe6050edbf81576e87640adba5567..2587a97863679e1d2138f51d1a254516425e8d3f 100644 (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);
index e8a9f92a93d4aca505a34a75f3942cb6b5e734c3..90c3459036b6b2e96646996b1f86355f4628c7f2 100644 (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 {