tests/cli/wit-with-all-features.wit
raw| 1 | // RUN: component wit --all-features % |
| 2 | |
| 3 | package a:b; |
| 4 | |
| 5 | @unstable(feature = foo) |
| 6 | interface foo { |
| 7 | @unstable(feature = foo) |
| 8 | type t = u32; |
| 9 | } |
| 10 | |
| 11 | @unstable(feature = bar) |
| 12 | interface bar { |
| 13 | @unstable(feature = baz) |
| 14 | use foo.{t}; |
| 15 | |
| 16 | @unstable(feature = qux) |
| 17 | record x { y: t } |
| 18 | } |