2011-03-25 14:19:20 -05:00
|
|
|
// xfail-stage0
|
2011-05-03 20:13:51 -05:00
|
|
|
// xfail-stage1
|
|
|
|
// xfail-stage2
|
2010-07-19 16:05:18 -05:00
|
|
|
fn main() -> () {
|
|
|
|
test00();
|
|
|
|
}
|
|
|
|
|
|
|
|
fn start() {
|
2011-05-12 10:24:54 -05:00
|
|
|
log "Started / Finished task.";
|
2010-07-19 16:05:18 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
fn test00() {
|
|
|
|
let task t = spawn thread start();
|
|
|
|
join t;
|
|
|
|
log "Completing.";
|
|
|
|
}
|