blob: 477eb40c57e1fe3fd5e061fb2d38dc7ba78d935c [file] [log] [blame]
// compile-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| {});
}