rust/src/test/run-fail/linked-failure.rs
Brian Anderson 40ae704ff2 Begin valgrinding run-fail tests
Introduce a temporary no-valgrind directive for the few that aren't clean
2011-08-10 13:36:57 -07:00

8 lines
165 B
Rust

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