19 lines
221 B
Rust
19 lines
221 B
Rust
// xfail-stage0
|
|
|
|
use std;
|
|
|
|
import std::task::join;
|
|
|
|
fn main() -> () {
|
|
test00();
|
|
}
|
|
|
|
fn start() {
|
|
log "Started / Finished task.";
|
|
}
|
|
|
|
fn test00() {
|
|
let task t = spawn start();
|
|
join(t);
|
|
log "Completing.";
|
|
} |