diff options
Diffstat (limited to 'src/test/run-fail/if-check-fail.rs')
| -rw-r--r-- | src/test/run-fail/if-check-fail.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-fail/if-check-fail.rs b/src/test/run-fail/if-check-fail.rs index a3831a10874..a77d520b07e 100644 --- a/src/test/run-fail/if-check-fail.rs +++ b/src/test/run-fail/if-check-fail.rs @@ -9,7 +9,7 @@ // except according to those terms. // error-pattern:Number is odd -pure fn even(x: uint) -> bool { +fn even(x: uint) -> bool { if x < 2u { return false; } else if x == 2u { return true; } else { return even(x - 2u); } |
