rust/src/test/compile-fail/arg-style-mismatch.rs
2011-10-07 10:41:40 +02:00

6 lines
97 B
Rust

// error-pattern: mismatched types
fn f(&&_x: int) {}
fn g(_a: fn(+int)) {}
fn main() { g(f); }