rust/src/test/run-fail/spawnfail.rs
2012-07-01 19:19:32 -07:00

12 lines
178 B
Rust

// xfail-win32
// error-pattern:explicit
use std;
import task;
// We don't want to see any invalid reads
fn main() {
fn f() {
fail;
}
task::spawn(|| f() );
}