(component (type (;0;) (instance (type (;0;) (func (result string))) (export (;0;) "f" (func (type 0))) ) ) (import "c" (instance $c (;0;) (type 0))) (type (;1;) (component (type (;0;) (instance (type (;0;) (func (result string))) (export (;0;) "f" (func (type 0))) ) ) (import "c" (instance (;0;) (type 0))) (type (;1;) (func (result string))) (export (;0;) "g" (func (type 1))) ) ) (import "d" (component $D (;0;) (type 1))) (instance $d1 (;1;) (instantiate $D (with "c" (instance $c)) ) ) (alias export $d1 "g" (func (;0;))) (instance (;2;) (export "f" (func 0)) ) (instance $d2 (;3;) (instantiate $D (with "c" (instance 2)) ) ) (export (;4;) "d2" (instance $d2)) )