30862a64c2
This is required by the check-fast target because each test is slurped up into a submodule.
15 lines
194 B
Rust
15 lines
194 B
Rust
use std::cast::transmute;
|
|
|
|
mod a {
|
|
extern {
|
|
pub fn free(x: *u8);
|
|
}
|
|
}
|
|
|
|
#[fixed_stack_segment] #[inline(never)]
|
|
pub fn main() {
|
|
unsafe {
|
|
a::free(transmute(0));
|
|
}
|
|
}
|