fn f(f: fn@(int) -> bool) -> bool { f(10) }

fn main() {
    assert do f() { |i| i == 10 } == 10; //! ERROR: expected `bool` but found `int`
}

fn f(f: fn@(int) -> bool) -> bool { f(10i) }

fn main() {
    assert do f() { |i| i == 10i } == 10i; //! ERROR: expected `bool` but found `int`
}

Add `i` suffix to cfail test so it works after suffix inference
Add `i` suffix to cfail test so it works after suffix inference
