aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-fail/linked-failure.rs
blob: 7def7c11d0a221d2f7618170518d9d63189bdac5 (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);
}

fn main() {
  let port[int] p = port();
  spawn child();
  let int x;
  x <- p;
}