blob: a5234cf8d129fbfb2f94aeb815f7739e06ea3e05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// -*- rust -*-
use std;
import task;
import task::*;
fn main() {
let other = task::spawn_joinable {|| child(); };
#error("1");
yield();
join(other);
}
fn child() { #error("2"); }
|