2011-11-11 14:19:15 -08:00
|
|
|
// xfail-win32
|
2011-09-06 18:16:39 -07:00
|
|
|
// error-pattern:explicit
|
|
|
|
use std;
|
2011-12-13 16:25:51 -08:00
|
|
|
import task;
|
2011-09-06 18:16:39 -07:00
|
|
|
|
|
|
|
// We don't want to see any invalid reads
|
|
|
|
fn main() {
|
2012-01-06 20:55:56 -08:00
|
|
|
fn f() {
|
2011-09-06 18:16:39 -07:00
|
|
|
fail;
|
|
|
|
}
|
2012-06-30 16:19:07 -07:00
|
|
|
task::spawn(|| f() );
|
2011-09-06 18:16:39 -07:00
|
|
|
}
|