rust/src/test/run-pass/unnamed_argument_mode.rs
2013-08-17 08:42:35 -07:00

12 lines
136 B
Rust

fn good(_a: &int) {
}
// unnamed argument &int is now parse x: &int
fn called(_f: &fn(&int)) {
}
pub fn main() {
called(good);
}