run-pass/autobind seems to work, so un-xfail it
This commit is contained in:
parent
0a6ef35c8c
commit
663000ce35
1 changed files with 1 additions and 5 deletions
|
|
@ -1,8 +1,4 @@
|
|||
// FIXME: Autobind doesn't work for bare functions currently
|
||||
// because it would have to convert them to shared closures
|
||||
// xfail-test
|
||||
|
||||
fn f<T>(x: [T]) -> T { ret x[0]; }
|
||||
fn f<T: copy>(x: [T]) -> T { ret x[0]; }
|
||||
|
||||
fn g(act: fn([int]) -> int) -> int { ret act([1, 2, 3]); }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue