1interface integers {
2  a1: func(x: u8)
3  a2: func(x: s8)
4  a3: func(x: u16)
5  a4: func(x: s16)
6  a5: func(x: u32)
7  a6: func(x: s32)
8  a7: func(x: u64)
9  a8: func(x: s64)
10
11  a9: func(
12    p1: u8,
13    p2: s8,
14    p3: u16,
15    p4: s16,
16    p5: u32,
17    p6: s32,
18    p7: u64,
19    p8: s64,
20  )
21
22
23  r1: func() -> u8
24  r2: func() -> s8
25  r3: func() -> u16
26  r4: func() -> s16
27  r5: func() -> u32
28  r6: func() -> s32
29  r7: func() -> u64
30  r8: func() -> s64
31
32  pair-ret: func() -> tuple<s64, u8>
33}
34
35world the-world {
36  import imports: integers
37  export exports: integers
38  default export integers
39}
40