aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-fail/linked-failure.rs
blob: df8b49d6cfee86ab5070cf42e02ab93904ba1d94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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;
}