pub type RustFn = fn();
-pub type RustBadRet = extern fn() -> Box<u32>;
+pub type RustBadRet = extern "C" fn() -> Box<u32>;
pub type CVoidRet = ();
pub extern "C" fn transparent_fn(p: TransparentBadFn) { }
-pub extern "C" fn good3(fptr: Option<extern fn()>) { }
+pub extern "C" fn good3(fptr: Option<extern "C" fn()>) { }
pub extern "C" fn good4(aptr: &[u8; 4 as usize]) { }
pub extern "C" fn good6(s: StructWithProjectionAndLifetime) { }
-pub extern "C" fn good7(fptr: extern fn() -> ()) { }
+pub extern "C" fn good7(fptr: extern "C" fn() -> ()) { }
-pub extern "C" fn good8(fptr: extern fn() -> !) { }
+pub extern "C" fn good8(fptr: extern "C" fn() -> !) { }
pub extern "C" fn good9() -> () { }