tests/snapshots/cli/component-model-gc/result-types.wast/0.print
raw| 1 | (component |
| 2 | (type $result (;0;) (result u32 (error u8))) |
| 3 | (core type $result (;0;) (struct)) |
| 4 | (core type $ty (;1;) (func (param (ref $result)))) |
| 5 | (type (;1;) |
| 6 | (instance |
| 7 | (alias outer 1 $result (type (;0;))) |
| 8 | (export (;1;) "ty" (type (eq 0))) |
| 9 | (type (;2;) (func (param "x" 1))) |
| 10 | (export (;0;) "f" (func (type 2))) |
| 11 | ) |
| 12 | ) |
| 13 | (import "i" (instance $i (;0;) (type 1))) |
| 14 | (alias export $i "f" (func (;0;))) |
| 15 | (core func (;0;) (canon lower (func 0) gc (core-type $ty))) |
| 16 | ) |