summary refs log tree commit diff
path: root/src/test/run-pass/task-comm-17.rs
blob: d1c4e064b4d75b7dcce715d948c62ce510f159cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Issue #922

// This test is specifically about spawning temporary closures.

extern mod std;

fn f() {
}

fn main() {
    task::spawn(|| f() );
}