1*fd3a827eSAlex Crichtonpackage foo:foo;
241417d9eSAlex Crichton
32329ecc3SAlex Crichtoninterface integers {
4*fd3a827eSAlex Crichton  a1: func(x: u8);
5*fd3a827eSAlex Crichton  a2: func(x: s8);
6*fd3a827eSAlex Crichton  a3: func(x: u16);
7*fd3a827eSAlex Crichton  a4: func(x: s16);
8*fd3a827eSAlex Crichton  a5: func(x: u32);
9*fd3a827eSAlex Crichton  a6: func(x: s32);
10*fd3a827eSAlex Crichton  a7: func(x: u64);
11*fd3a827eSAlex Crichton  a8: func(x: s64);
122329ecc3SAlex Crichton
132329ecc3SAlex Crichton  a9: func(
142329ecc3SAlex Crichton    p1: u8,
152329ecc3SAlex Crichton    p2: s8,
162329ecc3SAlex Crichton    p3: u16,
172329ecc3SAlex Crichton    p4: s16,
182329ecc3SAlex Crichton    p5: u32,
192329ecc3SAlex Crichton    p6: s32,
202329ecc3SAlex Crichton    p7: u64,
212329ecc3SAlex Crichton    p8: s64,
22*fd3a827eSAlex Crichton  );
232329ecc3SAlex Crichton
242329ecc3SAlex Crichton
25*fd3a827eSAlex Crichton  r1: func() -> u8;
26*fd3a827eSAlex Crichton  r2: func() -> s8;
27*fd3a827eSAlex Crichton  r3: func() -> u16;
28*fd3a827eSAlex Crichton  r4: func() -> s16;
29*fd3a827eSAlex Crichton  r5: func() -> u32;
30*fd3a827eSAlex Crichton  r6: func() -> s32;
31*fd3a827eSAlex Crichton  r7: func() -> u64;
32*fd3a827eSAlex Crichton  r8: func() -> s64;
332329ecc3SAlex Crichton
34*fd3a827eSAlex Crichton  pair-ret: func() -> tuple<s64, u8>;
352329ecc3SAlex Crichton}
362329ecc3SAlex Crichton
3741417d9eSAlex Crichtonworld the-world {
38*fd3a827eSAlex Crichton  import integers;
39*fd3a827eSAlex Crichton  export integers;
402329ecc3SAlex Crichton}
41