| 1 |
(module |
| 2 |
(type (;0;) (func (result (ref func)))) |
| 3 |
(type (;1;) (func (result (ref extern)))) |
| 4 |
(func (;0;) (type 0) (result (ref func)) |
| 5 |
unreachable |
| 6 |
ref.as_non_null |
| 7 |
) |
| 8 |
(func (;1;) (type 1) (result (ref extern)) |
| 9 |
unreachable |
| 10 |
ref.as_non_null |
| 11 |
) |
| 12 |
(func (;2;) (type 0) (result (ref func)) |
| 13 |
block (result funcref) ;; label = @1 |
| 14 |
unreachable |
| 15 |
br_on_null 0 (;@1;) |
| 16 |
return |
| 17 |
end |
| 18 |
unreachable |
| 19 |
) |
| 20 |
(func (;3;) (type 1) (result (ref extern)) |
| 21 |
block (result externref) ;; label = @1 |
| 22 |
unreachable |
| 23 |
br_on_null 0 (;@1;) |
| 24 |
return |
| 25 |
end |
| 26 |
unreachable |
| 27 |
) |
| 28 |
) |