2012-04-12 22:24:07 -05:00
|
|
|
// xfail-test
|
|
|
|
mod a {
|
2012-09-21 20:10:45 -05:00
|
|
|
#[legacy_exports];
|
2012-04-12 22:24:07 -05:00
|
|
|
type rust_task = uint;
|
2012-07-03 18:11:00 -05:00
|
|
|
extern mod rustrt {
|
2012-09-21 20:10:45 -05:00
|
|
|
#[legacy_exports];
|
2012-04-12 22:24:07 -05:00
|
|
|
fn rust_task_is_unwinding(rt: *rust_task) -> bool;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mod b {
|
2012-09-21 20:10:45 -05:00
|
|
|
#[legacy_exports];
|
2012-04-12 22:24:07 -05:00
|
|
|
type rust_task = bool;
|
2012-07-03 18:11:00 -05:00
|
|
|
extern mod rustrt {
|
2012-09-21 20:10:45 -05:00
|
|
|
#[legacy_exports];
|
2012-04-12 22:24:07 -05:00
|
|
|
fn rust_task_is_unwinding(rt: *rust_task) -> bool;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() { }
|