]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/variadic-ffi.rs
New upstream version 1.14.0+dfsg1
[rustc.git] / src / test / compile-fail / variadic-ffi.rs
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
 }