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