package test:records; interface test { multiple-results: func() -> tuple; swap-tuple: func(a: tuple) -> tuple; flags f1 { a, b } roundtrip-flags1: func(a: f1) -> f1; flags f2 { c, d, e } roundtrip-flags2: func(a: f2) -> f2; flags flag8 { b0, b1, b2, b3, b4, b5, b6, b7, } flags flag16 { b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, b10, b11, b12, b13, b14, b15, } flags flag32 { b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, b10, b11, b12, b13, b14, b15, b16, b17, b18, b19, b20, b21, b22, b23, b24, b25, b26, b27, b28, b29, b30, b31, } roundtrip-flags3: func(a: flag8, b: flag16, c: flag32) -> tuple; record r1 { a: u8, b: f1 } roundtrip-record1: func(a: r1) -> r1; tuple1: func(a: tuple) -> tuple; } world records { import test; export test; export test-imports: func(); }