fn foo(_f: fn()) {}
fn bar(_f: @int) {}
fn main() {
let x = @3;
foo(|| bar(x) );
foo(|copy x| bar(x) ); //~ ERROR cannot capture values explicitly with a block closure
foo(|move x| bar(x) ); //~ ERROR cannot capture values explicitly with a block closure
}