]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/linkage4.rs
Update compile fail tests to use isize.
[rust.git] / src / test / compile-fail / linkage4.rs
index 8f68f3e553cd7ce9638e36d0bd95cf725be4b906..635d58e04c7ab14142413220c8ba829e25bbd8df 100644 (file)
@@ -9,7 +9,7 @@
 // except according to those terms.
 
 #[linkage = "external"]
-static foo: int = 0;
+static foo: isize = 0;
 //~^ ERROR: the `linkage` attribute is experimental and not portable
 
 fn main() {}