// -*- rust -*- #[abi = "cdecl"] native mod test { unsafe fn free(); } fn main() { let x = test::free; //!^ ERROR access to unsafe function requires unsafe function or block }