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