(component (component $C (;0;) (import "in" (type $r (;0;) (sub resource))) (export (;1;) "out" (type $r)) ) (type $r (;0;) (resource (rep i32))) (instance $c1 (;0;) (instantiate $C (with "in" (type $r)) ) ) (alias export $c1 "out" (type (;1;))) (instance $c2 (;1;) (instantiate $C (with "in" (type 1)) ) ) (alias export $c2 "out" (type (;2;))) (instance $c3 (;2;) (instantiate $C (with "in" (type 2)) ) ) (alias export $c3 "out" (type (;3;))) (instance $c4 (;3;) (instantiate $C (with "in" (type 3)) ) ) (alias export $c4 "out" (type (;4;))) (instance $c5 (;4;) (instantiate $C (with "in" (type 4)) ) ) (component $C2 (;1;) (import "in1" (type $r (;0;) (sub resource))) (import "in2" (type (;1;) (eq $r))) (import "in3" (type (;2;) (eq $r))) (import "in4" (type (;3;) (eq $r))) (import "in5" (type (;4;) (eq $r))) (import "in6" (type (;5;) (eq $r))) ) (alias export $c1 "out" (type (;5;))) (alias export $c2 "out" (type (;6;))) (alias export $c3 "out" (type (;7;))) (alias export $c4 "out" (type (;8;))) (alias export $c5 "out" (type (;9;))) (instance (;5;) (instantiate $C2 (with "in1" (type $r)) (with "in2" (type 5)) (with "in3" (type 6)) (with "in4" (type 7)) (with "in5" (type 8)) (with "in6" (type 9)) ) ) )