1 #[repr(C)]
2 pub struct Fns {
3   noArgs: fn(),
4   anonymousArg: fn(i32),
5   returnsNumber: fn() -> i32,
6   namedArgs: fn(first: i32, snd: i16) -> i8,
7   namedArgsWildcards: fn(_: i32, named: i16, _: i64) -> i8,
8 }
9 
10 #[no_mangle]
root(_fns: Fns)11 pub extern "C" fn root(_fns: Fns) {}
12 
13 #[no_mangle]
no_return() -> !14 pub extern "C" fn no_return() -> ! {
15     loop {}
16 }
17