tests/snapshots/cli/component-model/instantiate.wast/3.print
raw| 1 | (component |
| 2 | (type (;0;) |
| 3 | (component) |
| 4 | ) |
| 5 | (import "a" (component $i (;0;) (type 0))) |
| 6 | (type (;1;) |
| 7 | (component |
| 8 | (type (;0;) |
| 9 | (component) |
| 10 | ) |
| 11 | (import "a" (component (;0;) (type 0))) |
| 12 | ) |
| 13 | ) |
| 14 | (import "b" (component $c (;1;) (type 1))) |
| 15 | (instance (;0;) (instantiate $c |
| 16 | (with "a" (component $i)) |
| 17 | ) |
| 18 | ) |
| 19 | ) |