aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/task-comm-1.rs
blob: 61613a20267d6f0bd9ac4e1467a8befe504f434d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// xfail-stage0
fn main() -> () {
   test00(); 
}

fn start() {
    log "Started / Finished Task.";
}

fn test00() {
    let task t = spawn thread start();
    join t;
    log "Completing.";
}