| 1 |
(module |
| 2 |
(rec |
| 3 |
(type $f1 (;0;) (sub (func))) |
| 4 |
(type $s1 (;1;) (sub (struct (field (ref $f1))))) |
| 5 |
) |
| 6 |
(rec |
| 7 |
(type $f2 (;2;) (sub (func))) |
| 8 |
(type $s2 (;3;) (sub (struct (field (ref $f2))))) |
| 9 |
) |
| 10 |
(rec |
| 11 |
(type $g2 (;4;) (sub $f2 (func))) |
| 12 |
(type (;5;) (sub $s2 (struct (field (ref $f1)) (field (ref $f2)) (field (ref $f1)) (field (ref $f2)) (field (ref $g2))))) |
| 13 |
) |
| 14 |
(rec |
| 15 |
(type $h (;6;) (sub $g2 (func))) |
| 16 |
(type (;7;) (struct)) |
| 17 |
) |
| 18 |
(export "h" (func 0)) |
| 19 |
(func (;0;) (type $h)) |
| 20 |
) |