rust/src/test/run-pass/morestack-address.rs
2012-08-31 16:20:36 -07:00

11 lines
198 B
Rust

#[nolink]
#[abi = "rust-intrinsic"]
extern mod rusti {
fn morestack_addr() -> *();
}
fn main() {
let addr = rusti::morestack_addr();
assert addr.is_not_null();
error!("%?", addr);
}