tests/snapshots/cli/component-model/instantiate.wast/23.print
raw| 1 | (component |
| 2 | (type (;0;) |
| 3 | (component |
| 4 | (core type (;0;) |
| 5 | (module |
| 6 | (import "" "" (global i32)) |
| 7 | (type (;0;) (func)) |
| 8 | (import "" "f" (func (type 0))) |
| 9 | ) |
| 10 | ) |
| 11 | (import "a" (core module (;0;) (type 0))) |
| 12 | ) |
| 13 | ) |
| 14 | (import "a" (component $m (;0;) (type 0))) |
| 15 | (core type (;0;) |
| 16 | (module |
| 17 | (import "" "" (global i32)) |
| 18 | ) |
| 19 | ) |
| 20 | (import "b" (core module $i (;0;) (type 0))) |
| 21 | (instance $i (;0;) (instantiate $m |
| 22 | (with "a" (core module $i)) |
| 23 | ) |
| 24 | ) |
| 25 | ) |