rust/src/test/run-pass/issue-506.rs
Eric Holk 26c11f7b50 Use must_have_lock instead of private functions. (Issue #2700)
I hereby declare that messages sent from the same source arrive in order (Issue #2605)

Removing FIXME, owned is the correct type here. (Issue #2704)

Remove outdated FIXME (Issue #2703)

Updating test for spawning native functions (Issue #2602)

Removing bogus FIXME (Issue #2599)
2012-06-22 15:14:42 -07:00

14 lines
220 B
Rust

/*
A reduced test case for Issue #506, provided by Rob Arnold.
*/
use std;
import task;
#[abi = "cdecl"]
native mod rustrt {
fn rust_task_allow_kill();
}
fn main() { task::spawn(rustrt::rust_task_allow_kill); }