| 1 |
package foo:foo; |
| 2 |
|
| 3 |
world module { |
| 4 |
import bar: interface { |
| 5 |
record x { |
| 6 |
a: u8 |
| 7 |
} |
| 8 |
|
| 9 |
bar1: func(x: string); |
| 10 |
bar2: func(x: x); |
| 11 |
} |
| 12 |
|
| 13 |
import baz: interface { |
| 14 |
type x = s8; |
| 15 |
|
| 16 |
baz1: func(x: list<string>); |
| 17 |
baz2: func(); |
| 18 |
baz3: func(x: x); |
| 19 |
} |
| 20 |
|
| 21 |
import foo: interface { |
| 22 |
foo1: func(); |
| 23 |
foo2: func(x: u8); |
| 24 |
foo3: func(x: f32); |
| 25 |
unused: func(); |
| 26 |
|
| 27 |
/// doesn't show up in the wit output despite being exported here since it's |
| 28 |
/// not actually used by anything |
| 29 |
record unused-record { |
| 30 |
f: u8, |
| 31 |
} |
| 32 |
} |
| 33 |
} |