summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-20847.rs
blob: 03e632263e6739c1aa24492a11c622152b247005 (plain)
1
2
3
4
5
6
7
8
9
10
// run-pass
#![feature(fn_traits)]

fn say(x: u32, y: u32) {
    println!("{} {}", x, y);
}

fn main() {
    Fn::call(&say, (1, 2));
}