2011-06-20 13:00:46 -05:00
|
|
|
/*
|
|
|
|
A reduced test case for Issue #506, provided by Rob Arnold.
|
|
|
|
*/
|
|
|
|
|
2011-06-20 13:59:05 -05:00
|
|
|
// xfail-stage0
|
|
|
|
|
2011-06-20 13:00:46 -05:00
|
|
|
native "rust" mod rustrt {
|
|
|
|
fn task_yield();
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
spawn rustrt::task_yield();
|
|
|
|
}
|
|
|
|
|