1 2 3 4 5 6 7 8 9 10
//@ run-pass fn foo(_f: fn(isize) -> isize) { } fn id(x: isize) -> isize { return x; } pub fn main() { foo(id); }