summary refs log tree commit diff
path: root/src/test/compile-fail/arg-style-mismatch.rs
blob: 9a6396c9147a34543db9c2b933bf4cb5b66e95da (plain)
1
2
3
4
5
// error-pattern: mismatched types

fn f(&&_x: int) {}
fn g(_a: fn(+int)) {}
fn main() { g(f); }