1 2 3 4 5 6 7 8 9
extern "C" { fn local_native_f() -> i32; } pub fn main() { unsafe { assert!(local_native_f() == 0); }; }