rust/src/test/run-pass/unnamed_argument_mode.rs
2013-11-26 08:19:00 -08:00

12 lines
133 B
Rust

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