about summary refs log tree commit diff
path: root/src/test/run-pass/global-scope.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/global-scope.rs')
-rw-r--r--src/test/run-pass/global-scope.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/global-scope.rs b/src/test/run-pass/global-scope.rs
index 73c15382d9e..64d9368a88b 100644
--- a/src/test/run-pass/global-scope.rs
+++ b/src/test/run-pass/global-scope.rs
@@ -11,10 +11,10 @@
 
 // pretty-expanded FIXME #23616
 
-pub fn f() -> int { return 1; }
+pub fn f() -> isize { return 1; }
 
 pub mod foo {
-    pub fn f() -> int { return 2; }
+    pub fn f() -> isize { return 2; }
     pub fn g() { assert!((f() == 2)); assert!((::f() == 1)); }
 }