]> git.lizzy.rs Git - rust.git/blob - tests/target/extern_not_explicit.rs
Fix bug in identifying comments
[rust.git] / tests / target / extern_not_explicit.rs
1 // rustfmt-force_explicit_abi: false
2
3 extern {
4     fn some_fn() -> ();
5 }
6
7 extern fn sup() {}
8
9 type funky_func = extern fn(unsafe extern "rust-call" fn(*const JSJitInfo,
10                                                          *mut JSContext,
11                                                          HandleObject,
12                                                          *mut libc::c_void,
13                                                          u32,
14                                                          *mut JSVal)
15                                                          -> u8);