rust/tests/target/extern_not_explicit.rs
2016-04-18 18:39:40 +02:00

16 lines
585 B
Rust

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