| 1 |
(module |
| 2 |
(rec |
| 3 |
(type $f11 (;0;) (sub (func (result (ref func))))) |
| 4 |
(type $f12 (;1;) (sub $f11 (func (result (ref $f11))))) |
| 5 |
) |
| 6 |
(rec |
| 7 |
(type $f21 (;2;) (sub (func (result (ref func))))) |
| 8 |
(type $f22 (;3;) (sub $f21 (func (result (ref $f21))))) |
| 9 |
) |
| 10 |
(global (;0;) (ref $f11) ref.func $f11) |
| 11 |
(global (;1;) (ref $f21) ref.func $f11) |
| 12 |
(global (;2;) (ref $f12) ref.func $f12) |
| 13 |
(global (;3;) (ref $f22) ref.func $f12) |
| 14 |
(func $f11 (;0;) (type $f11) (result (ref func)) |
| 15 |
unreachable |
| 16 |
) |
| 17 |
(func $f12 (;1;) (type $f12) (result (ref $f11)) |
| 18 |
unreachable |
| 19 |
) |
| 20 |
) |