rust/src/test/run-pass/task-comm-17.rs
2011-10-20 18:23:47 -07:00

16 lines
293 B
Rust

// xfail-test
// Issue #922
// This test is specifically about spawning temporary closures, which
// isn't possible under the bare-fn regime. I'm keeping it around
// until such time as we have unique closures.
use std;
import std::task;
fn f() {
}
fn main() {
task::spawn(bind f());
}