rust/src/test/run-pass/drop-bind-thunk-args.rs
2011-07-27 15:54:33 +02:00

5 lines
No EOL
81 B
Rust

fn f(x: @int) { }
fn main() { let x = @10; let ff = bind f(_); ff(x); ff(x); }