Revert "Add a test case for #898. Closes #898."
This reverts commit f480203fdd4d8b498453c1f7cc0ad4f59d87c596. Oops. This patch requires people to bump their LLVM version.
This commit is contained in:
parent
e12e76e9ba
commit
e305ab3851
@ -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…
x
Reference in New Issue
Block a user