rust/src/test/run-fail/linked-failure.rs
2011-06-22 08:35:02 -07:00

15 lines
159 B
Rust

// -*- rust -*-
// error-pattern:1 == 2
fn child() {
assert (1 == 2);
}
fn main() {
let port[int] p = port();
spawn child();
let int x;
p |> x;
}