rust/tests/source/extern_not_explicit.rs
2018-03-02 15:07:13 +13:00

15 lines
400 B
Rust

// rustfmt-force_explicit_abi: false
extern "C" {
fn some_fn() -> ();
}
extern "C" fn sup() {
}
type funky_func = extern "C" fn (unsafe extern "rust-call" fn(*const JSJitInfo, *mut JSContext,
HandleObject, *mut libc::c_void, u32,
*mut JSVal)
-> u8);