tests/snapshots/cli/component-model/alias.wast/1.print
raw| 1 | (component |
| 2 | (type (;0;) |
| 3 | (component |
| 4 | (type (;0;) (func)) |
| 5 | (export (;0;) "f1" (func (type 0))) |
| 6 | (type (;1;) (func (param "p1" string))) |
| 7 | (export (;1;) "f2" (func (type 1))) |
| 8 | ) |
| 9 | ) |
| 10 | (import "i" (component $c (;0;) (type 0))) |
| 11 | (instance $i (;0;) (instantiate $c)) |
| 12 | (alias export $i "f1" (func (;0;))) |
| 13 | (export (;1;) "run" (func 0)) |
| 14 | ) |