about summary refs log tree commit diff
path: root/src/test/run-pass/tuple-struct-constructor-pointer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/tuple-struct-constructor-pointer.rs')
-rw-r--r--src/test/run-pass/tuple-struct-constructor-pointer.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/run-pass/tuple-struct-constructor-pointer.rs b/src/test/run-pass/tuple-struct-constructor-pointer.rs
index bcd62e92b46..90cf94666de 100644
--- a/src/test/run-pass/tuple-struct-constructor-pointer.rs
+++ b/src/test/run-pass/tuple-struct-constructor-pointer.rs
@@ -9,13 +9,13 @@
 // except according to those terms.
 
 #[derive(PartialEq, Debug)]
-struct Foo(int);
+struct Foo(isize);
 #[derive(PartialEq, Debug)]
-struct Bar(int, int);
+struct Bar(isize, isize);
 
 pub fn main() {
-    let f: fn(int) -> Foo = Foo;
-    let g: fn(int, int) -> Bar = Bar;
+    let f: fn(isize) -> Foo = Foo;
+    let g: fn(isize, isize) -> Bar = Bar;
     assert_eq!(f(42), Foo(42));
     assert_eq!(g(4, 7), Bar(4, 7));
 }