rust/src/test/run-pass/native-dupe.rs
Marijn Haverbeke c1b075d042 Remove experimental GC code
It's been sitting unused long enough to have bitrotted completely.
2012-02-03 11:34:12 +01:00

20 lines
404 B
Rust

// xfail-fast - Somehow causes check-fast to livelock?? Probably because we're
// calling pin_task and that's having wierd side-effects.
#[abi = "cdecl"]
#[link_name = "rustrt"]
native mod rustrt1 {
fn last_os_error() -> str;
}
#[abi = "cdecl"]
#[link_name = "rustrt"]
native mod rustrt2 {
fn last_os_error() -> str;
}
fn main() {
rustrt1::last_os_error();
rustrt2::last_os_error();
}