(component (type $x (;0;) (resource (rep i32))) (component $c (;0;) (import "x" (type $t (;0;) (sub resource))) (export (;1;) "y" (type $t)) ) (instance $c (;0;) (instantiate $c (with "x" (type $x)) ) ) (alias export $c "y" (type $x2 (;1;))) (core func (;0;) (canon resource.rep $x2)) )