Skip to content

Commit 9b2d988

Browse files
committed
Fix test that was using rust_task_allow_kill incorrectly
1 parent d162fa2 commit 9b2d988

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/test/run-pass/issue-506.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
/*
22
A reduced test case for Issue #506, provided by Rob Arnold.
3+
4+
Testing spawning foreign functions
35
*/
46

57
use std;
68
import task;
79

810
#[abi = "cdecl"]
911
extern mod rustrt {
10-
fn rust_task_allow_kill();
12+
fn unsupervise();
1113
}
1214

13-
fn main() { task::spawn(rustrt::rust_task_allow_kill); }
15+
fn main() { task::spawn(rustrt::unsupervise); }

0 commit comments

Comments
 (0)