Revert "Add a test case for #898. Closes #898."
This reverts commit f480203fdd
.
Oops. This patch requires people to bump their LLVM version.
This commit is contained in:
parent
e12e76e9ba
commit
e305ab3851
1 changed files with 0 additions and 11 deletions
|
@ -1,11 +0,0 @@
|
|||
fn even(&&e: int) -> bool {
|
||||
e % 2 == 0
|
||||
}
|
||||
|
||||
fn log_if<T>(c: fn(T)->bool, e: T) {
|
||||
if c(e) { log e; }
|
||||
}
|
||||
|
||||
fn main() {
|
||||
(bind log_if(even, _))(2);
|
||||
}
|
Loading…
Reference in a new issue