aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-fail/linked-failure.rs
blob: d75391bc68cd04db5f0c128e6562e1cb5a170454 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// xfail-stage0
// xfail-stage1
// xfail-stage2
// -*- rust -*-

// error-pattern::1 == 2

fn child() {
  assert (1 == 2);
}

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