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