1
Fork 0
rust/tests/ui/issues/issue-20847.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
136 B
Rust
Raw Normal View History

//@ run-pass
2016-08-06 16:01:12 -04:00
#![feature(fn_traits)]
fn say(x: u32, y: u32) {
println!("{} {}", x, y);
}
fn main() {
Fn::call(&say, (1, 2));
}