rust/tests/target/extern_not_explicit.rs
Seiichi Uchida 4d11faff4b Update tests
2017-06-18 02:16:27 +09:00

18 lines
305 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,
);