tests/cli/reparent-anonymous-interfaces-on-merge.wit
raw| 1 | // RUN: component embed --dummy --world w1 % | \ |
| 2 | // component embed --world w2 % | \ |
| 3 | // component embed --world w3 % | \ |
| 4 | // component embed --world w4 % | \ |
| 5 | // component wit |
| 6 | |
| 7 | package a:b; |
| 8 | |
| 9 | world w1 {} |
| 10 | world w2 { |
| 11 | import a: interface {} |
| 12 | } |
| 13 | world w3 { |
| 14 | export a: interface {} |
| 15 | } |
| 16 | world w4 { |
| 17 | import b: interface {} |
| 18 | export b: interface {} |
| 19 | } |