rust/src/test/run-pass/task-comm-17.rs
2012-07-01 19:19:32 -07:00

13 lines
154 B
Rust

// Issue #922
// This test is specifically about spawning temporary closures.
use std;
import task;
fn f() {
}
fn main() {
task::spawn(|| f() );
}