| 1 |
(module $subtyping-resume0 |
| 2 |
(type $ft0 (;0;) (func)) |
| 3 |
(type $ct0 (;1;) (cont $ft0)) |
| 4 |
(type $ft_sup (;2;) (func (param (ref $ft0)))) |
| 5 |
(type $ct_sup (;3;) (cont $ft_sup)) |
| 6 |
(type $ft_sub (;4;) (func (param (ref func)))) |
| 7 |
(type $ct_sub (;5;) (cont $ft_sub)) |
| 8 |
(type (;6;) (func (result (ref func)))) |
| 9 |
(type (;7;) (func (param (ref $ct0)))) |
| 10 |
(tag $t (;0;) (type 6) (result (ref func))) |
| 11 |
(func $test0 (;0;) (type 7) (param $p (ref $ct0)) |
| 12 |
(block $handler (result (ref $ct_sup)) |
| 13 |
(resume $ct0 (on $t $handler) |
| 14 |
(local.get $p)) |
| 15 |
(return)) |
| 16 |
(unreachable) |
| 17 |
) |
| 18 |
) |