diff options
Diffstat (limited to 'src/test/auxiliary/svh-a-macro.rs')
| -rw-r--r-- | src/test/auxiliary/svh-a-macro.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/auxiliary/svh-a-macro.rs b/src/test/auxiliary/svh-a-macro.rs index 01926dc8abc..b16338f1e12 100644 --- a/src/test/auxiliary/svh-a-macro.rs +++ b/src/test/auxiliary/svh-a-macro.rs @@ -27,14 +27,14 @@ pub trait V : MarkerTrait {} impl U for () {} impl V for () {} -static A_CONSTANT : int = 2; +static A_CONSTANT : isize = 2; -pub fn foo<T:U>(_: int) -> int { +pub fn foo<T:U>(_: isize) -> isize { // a macro invocation in a function body does not affect the svh, // as long as it yields the same code. three!() } -pub fn an_unused_name() -> int { +pub fn an_unused_name() -> isize { 4 } |
