]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/issue-9243.rs
Update compile fail tests to use isize.
[rust.git] / src / test / compile-fail / issue-9243.rs
index eb3618c9f04081f3ddf451ff95e5113321a3b5d0..808aa098c5a28c1c317c1e99d518a3a9ff26df29 100644 (file)
@@ -11,7 +11,7 @@
 // Regresion test for issue 9243
 
 struct Test {
-    mem: int,
+    mem: isize,
 }
 
 pub static g_test: Test = Test {mem: 0}; //~ ERROR statics are not allowed to have destructors