2018-08-30 07:18:55 -05:00
|
|
|
// run-pass
|
2011-06-15 13:19:50 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
2015-03-22 15:13:15 -05:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2015-03-25 19:06:52 -05:00
|
|
|
fn foo(_f: fn(isize) -> isize) { }
|
2010-06-28 23:18:09 -05:00
|
|
|
|
2015-03-25 19:06:52 -05:00
|
|
|
fn id(x: isize) -> isize { return x; }
|
2010-06-28 23:18:09 -05:00
|
|
|
|
2013-02-01 21:43:17 -06:00
|
|
|
pub fn main() { foo(id); }
|