tests/cli/print-core-wasm-wit-multiple-packages.wit
raw| 1 | // RUN: component embed --dummy --world=bar:bar/my-world % | component wit |
| 2 | |
| 3 | package foo:root; |
| 4 | package foo:foo { |
| 5 | interface my-interface { |
| 6 | foo: func(); |
| 7 | } |
| 8 | |
| 9 | world my-world { |
| 10 | import my-interface; |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | package bar:bar { |
| 15 | interface my-interface { |
| 16 | foo: func(); |
| 17 | } |
| 18 | |
| 19 | world my-world { |
| 20 | import my-interface; |
| 21 | } |
| 22 | } |