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