| 1 |
type A = fn (); |
| 2 |
type B = fn () -> (); |
| 3 |
type C = fn (i32, i32) -> bool; |
| 4 |
type D = fn (i32) -> fn (f32) -> bool; |
| 5 |
type E = fn () -> *const [i32; 16]; |
| 6 |
|
| 7 |
type F = *const i32; |
| 8 |
type G = *const *const i32; |
| 9 |
type H = *const *mut i32; |
| 10 |
type I = *const [i32; 16]; |
| 11 |
type J = *const fn (f32) -> f64; |
| 12 |
|
| 13 |
type K = [i32; 16]; |
| 14 |
type L = [*const i32; 16]; |
| 15 |
type M = [fn (i32, i32) -> bool; 16]; |
| 16 |
type N = [fn (i32, i32) -> (); 16]; |
| 17 |
|
| 18 |
#[no_mangle] |
| 19 |
pub extern "C" fn O() -> fn () |
| 20 |
{ } |
| 21 |
|
| 22 |
type P = fn (named1st: i32, bool, named3rd: bool, _: i32); |
| 23 |
|
| 24 |
#[no_mangle] |
| 25 |
pub extern "C" fn root( |
| 26 |
a: A, |
| 27 |
b: B, |
| 28 |
c: C, |
| 29 |
d: D, |
| 30 |
e: E, |
| 31 |
f: F, |
| 32 |
g: G, |
| 33 |
h: H, |
| 34 |
i: I, |
| 35 |
j: J, |
| 36 |
k: K, |
| 37 |
l: L, |
| 38 |
m: M, |
| 39 |
n: N, |
| 40 |
p: P |
| 41 |
) { } |