(component (component $C (;0;) (type $r1 (;0;) (resource (rep i32))) (type $r2 (;1;) (resource (rep i32))) (export (;2;) "r1" (type $r1)) (export (;3;) "r2" (type $r2)) ) (instance $c1 (;0;) (instantiate $C)) (instance $c2 (;1;) (instantiate $C)) (alias export $c1 "r1" (type $c1r1 (;0;))) (alias export $c1 "r2" (type $c1r2 (;1;))) (alias export $c2 "r1" (type $c2r1 (;2;))) (alias export $c2 "r2" (type $c2r2 (;3;))) )