diff --git a/src/test/run-pass/fun-call-variants.rs b/src/test/run-pass/fun-call-variants.rs index 75619cec187..6409767ab40 100644 --- a/src/test/run-pass/fun-call-variants.rs +++ b/src/test/run-pass/fun-call-variants.rs @@ -1,6 +1,3 @@ -// xfail-pretty - - // -*- rust -*- fn ho(f: fn(int) -> int ) -> int { let n: int = f(3); ret n; } @@ -9,13 +6,10 @@ fn direct(x: int) -> int { ret x + 1; } fn main() { let a: int = direct(3); // direct - //let int b = ho(direct); // indirect unbound - + let b: int = ho(direct); // indirect unbound let c: int = ho(bind direct(_)); // indirect bound - //assert (a == b); - //assert (b == c); - - + assert (a == b); + assert (b == c); } \ No newline at end of file