summary refs log tree commit diff
path: root/src/test/run-pass/issue-506.rs
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); }