(component (type $i (;0;) (instance (export (;0;) "r" (type (sub resource))) (type (;1;) (own 0)) (type (;2;) (func (result 1))) (export (;0;) "f" (func (type 2))) ) ) (import "i1" (instance $i1 (;0;) (type $i))) (import "i2" (instance $i2 (;1;) (type $i))) (component $c (;0;) (import "r" (type $t (;0;) (sub resource))) (type (;1;) (own $t)) (type (;2;) (func (result 1))) (import "f" (func (;0;) (type 2))) ) (alias export $i1 "r" (type (;1;))) (alias export $i1 "f" (func (;0;))) (instance (;2;) (instantiate $c (with "r" (type 1)) (with "f" (func 0)) ) ) (alias export $i2 "r" (type (;2;))) (alias export $i2 "f" (func (;1;))) (instance (;3;) (instantiate $c (with "r" (type 2)) (with "f" (func 1)) ) ) )