14 lines
198 B
Rust
14 lines
198 B
Rust
// -*- rust -*-
|
|
use std;
|
|
import task;
|
|
import task::*;
|
|
|
|
fn main() {
|
|
let other = task::spawn_joinable {|| child(); };
|
|
#error("1");
|
|
yield();
|
|
join(other);
|
|
}
|
|
|
|
fn child() { #error("2"); }
|