summaryrefslogtreecommitdiffstats
path: root/tests/ui/functions-closures/fn-lval.rs
blob: 01079eea457c3dedc2e43ed93d51fa83c5211507 (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-pass



// pretty-expanded FIXME #23616

fn foo(_f: fn(isize) -> isize) { }

fn id(x: isize) -> isize { return x; }

pub fn main() { foo(id); }