tests/snapshots/cli/component-model/resources.wast/29.print
raw| 1 | (component |
| 2 | (component $C (;0;) |
| 3 | (type $r1 (;0;) (resource (rep i32))) |
| 4 | (type $r2 (;1;) (resource (rep i32))) |
| 5 | (export (;2;) "r1" (type $r1)) |
| 6 | (export (;3;) "r2" (type $r2)) |
| 7 | ) |
| 8 | (instance $c1 (;0;) (instantiate $C)) |
| 9 | (instance $c2 (;1;) (instantiate $C)) |
| 10 | (alias export $c1 "r1" (type $c1r1 (;0;))) |
| 11 | (alias export $c1 "r2" (type $c1r2 (;1;))) |
| 12 | (alias export $c2 "r1" (type $c2r1 (;2;))) |
| 13 | (alias export $c2 "r2" (type $c2r2 (;3;))) |
| 14 | ) |