tests/snapshots/cli/component-model/resources.wast/38.print
raw| 1 | (component |
| 2 | (component $C1 (;0;) |
| 3 | (import "X" (type (;0;) (sub resource))) |
| 4 | ) |
| 5 | (component $C2 (;1;) |
| 6 | (type (;0;) |
| 7 | (component |
| 8 | (import "X" (type (;0;) (sub resource))) |
| 9 | ) |
| 10 | ) |
| 11 | (import "C1" (component (;0;) (type 0))) |
| 12 | ) |
| 13 | (instance $c (;0;) (instantiate $C2 |
| 14 | (with "C1" (component $C1)) |
| 15 | ) |
| 16 | ) |
| 17 | ) |