| 1 |
;; RUN: dump % |
| 2 |
|
| 3 |
(component |
| 4 |
(import "a" (core module $m1 |
| 5 |
(import "" "f" (func)) |
| 6 |
)) |
| 7 |
(core module $m2 |
| 8 |
(func (export "f")) |
| 9 |
) |
| 10 |
(core instance $i1 (instantiate $m2)) |
| 11 |
(core instance $i2 (instantiate $m1 (with "a" (instance $i1)))) |
| 12 |
) |