]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/source/extern_not_explicit.rs
Rollup merge of #107166 - petrochenkov:nooptable, r=oli-obk
[rust.git] / src / tools / rustfmt / tests / source / extern_not_explicit.rs
1 // rustfmt-force_explicit_abi: false
2
3  extern  "C" {
4    fn some_fn() -> ();
5  }
6
7  extern "C" fn sup() {
8
9  }
10
11 type funky_func = extern "C" fn (unsafe extern "rust-call" fn(*const JSJitInfo, *mut JSContext,
12                                               HandleObject, *mut libc::c_void, u32,
13                                               *mut JSVal)
14                                               -> u8);