d08b443fff
This reverts commit aa25f22f19
. It broke stage2, not sure why yet.
16 lines
174 B
Rust
16 lines
174 B
Rust
// 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;
|
|
}
|