blob: 98654f497e3bdc884a3cc20a411c93418dc7506b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/*
A reduced test case for Issue #506, provided by Rob Arnold.
Testing spawning foreign functions
*/
use std;
import task;
#[abi = "cdecl"]
extern mod rustrt {
fn unsupervise();
}
fn main() { task::spawn(rustrt::unsupervise); }
|