blob: 2e104b599bd75bd53ba60c7c2ce792a1e20ede44 [file] [log] [blame]
// check-pass
fn test<F: Fn(&u64, &u64)>(f: F) {}
fn main() {
test(|x, y | {});
test(|x:&u64, y:&u64| {});
test(|x:&u64, y | {});
test(|x, y:&u64| {});
}