| 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 $g1 (;4;) (sub $f1 (func))) |
| 12 |
(type (;5;) (sub $s1 (struct (field (ref $f1)) (field (ref $f1)) (field (ref $f2)) (field (ref $f2)) (field (ref $g1))))) |
| 13 |
) |
| 14 |
(rec |
| 15 |
(type $g2 (;6;) (sub $f2 (func))) |
| 16 |
(type (;7;) (sub $s2 (struct (field (ref $f1)) (field (ref $f2)) (field (ref $f1)) (field (ref $f2)) (field (ref $g2))))) |
| 17 |
) |
| 18 |
(rec |
| 19 |
(type $h (;8;) (sub $g2 (func))) |
| 20 |
(type (;9;) (struct)) |
| 21 |
) |
| 22 |
(global (;0;) (ref $f1) ref.func $h) |
| 23 |
(global (;1;) (ref $g1) ref.func $h) |
| 24 |
(func $h (;0;) (type $h)) |
| 25 |
) |