rust/tests/target/extern_not_explicit.rs

19 lines
305 B
Rust
Raw Normal View History

// rustfmt-force_explicit_abi: false
extern {
fn some_fn() -> ();
}
extern fn sup() {}
2017-06-17 19:04:03 +02:00
type funky_func = extern fn(
unsafe extern "rust-call" fn(
*const JSJitInfo,
*mut JSContext,
HandleObject,
*mut libc::c_void,
u32,
*mut JSVal,
) -> u8,
);