tests/snapshots/cli/gc/type-subtyping.wast/8.print
raw| 1 | (module |
| 2 | (rec |
| 3 | (type $f1 (;0;) (sub (func))) |
| 4 | (type (;1;) (struct (field (ref $f1)))) |
| 5 | ) |
| 6 | (rec |
| 7 | (type $f2 (;2;) (sub (func))) |
| 8 | (type (;3;) (struct (field (ref $f2)))) |
| 9 | ) |
| 10 | (rec |
| 11 | (type $g1 (;4;) (sub $f1 (func))) |
| 12 | (type (;5;) (struct)) |
| 13 | ) |
| 14 | (rec |
| 15 | (type $g2 (;6;) (sub $f2 (func))) |
| 16 | (type (;7;) (struct)) |
| 17 | ) |
| 18 | (global (;0;) (ref $g1) ref.func $g) |
| 19 | (func $g (;0;) (type $g2)) |
| 20 | ) |