// -*- rust -*- // error-pattern:1 == 2 // no-valgrind use std; import std::task; import std::comm::mk_port; fn child() { assert (1 == 2); } fn main() { let p = mk_port::(); task::_spawn(bind child()); let x = p.recv(); }