1package foo:foo;
2
3interface anon {
4  enum error {
5    success,
6    failure,
7  }
8
9  option-test: func() -> result<option<string>, error>;
10}
11
12world the-world {
13  import anon;
14  export anon;
15}
16