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