rust/src/test/run-fail/linked-failure.rs

16 lines
181 B
Rust

// xfail-stage0
// -*- rust -*-
// error-pattern:1 == 2
fn child() {
check (1 == 2);
}
impure fn main() {
let port[int] p = port();
spawn child();
let int x;
x <- p;
}