2011-03-25 14:19:20 -05:00
|
|
|
// xfail-stage0
|
2010-06-23 23:03:09 -05:00
|
|
|
// -*- rust -*-
|
|
|
|
|
|
|
|
// error-pattern:1 == 2
|
|
|
|
|
|
|
|
fn child() {
|
2011-05-02 19:47:24 -05:00
|
|
|
assert (1 == 2);
|
2010-06-23 23:03:09 -05:00
|
|
|
}
|
|
|
|
|
2011-04-19 15:35:49 -05:00
|
|
|
fn main() {
|
2010-06-23 23:03:09 -05:00
|
|
|
let port[int] p = port();
|
|
|
|
spawn child();
|
|
|
|
let int x;
|
|
|
|
x <- p;
|
|
|
|
}
|