]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/variadic-ffi-4.rs
Update compile fail tests to use isize.
[rust.git] / src / test / compile-fail / variadic-ffi-4.rs
index d4c54dfffe0a36221544ca38114737f429c7c063..62e985f44f7343d40dcb8973400b5d86bd999059 100644 (file)
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-extern "C" fn foo(x: int, ...) {
+extern "C" fn foo(x: isize, ...) {
     //~^ ERROR: only foreign functions are allowed to be variadic
 }