summaryrefslogtreecommitdiffstats
path: root/tests/pretty/issue-31073.rs
blob: 75795f6d56895ead80b37cf2b69693ee737ea8a9 (plain)
1
2
3
4
5
6
7
// pp-exact:issue-31073.pp

fn main() {
    fn f1(x: i32, y: i32) -> i32 { y }
    let f: fn(_, i32) -> i32 = f1;
    f(1, 2);
}