/*
  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); }

/*
  A reduced test case for Issue #506, provided by Rob Arnold.
*/

use std;
import task;

#[abi = "cdecl"]
extern mod rustrt {
    fn rust_task_allow_kill();
}

fn main() { task::spawn(rustrt::rust_task_allow_kill); }

--- 
+++ 
@@ -1,7 +1,5 @@
 /*
   A reduced test case for Issue #506, provided by Rob Arnold.
-
-  Testing spawning foreign functions
 */
 
 use std;
@@ -9,7 +7,7 @@
 
 #[abi = "cdecl"]
 extern mod rustrt {
-    fn unsupervise();
+    fn rust_task_allow_kill();
 }
 
-fn main() { task::spawn(rustrt::unsupervise); }
+fn main() { task::spawn(rustrt::rust_task_allow_kill); }
Fix test that was using rust_task_allow_kill incorrectly
