4 import std::comm::chan;
5 import std::comm::send;
7 fn main() { test05(); }
9 fn test05_start(&&f: sendfn(int)) {
15 let fn_to_send = sendfn(n: int) {
16 log(error, *three + n); // will copy x into the closure
19 task::spawn(fn_to_send, test05_start);