| 1 |
(module |
| 2 |
(type $f (;0;) (func)) |
| 3 |
(type $ft1 (;1;) (sub (func (param (ref $f)) (result (ref func))))) |
| 4 |
(type $ct1 (;2;) (sub (cont $ft1))) |
| 5 |
(type $ft2 (;3;) (func (param (ref any)) (result (ref func)))) |
| 6 |
(type $ct2 (;4;) (cont $ft2)) |
| 7 |
(type $ft3 (;5;) (sub $ft1 (func (param (ref func)) (result (ref $f))))) |
| 8 |
(type $ct3 (;6;) (cont $ft3)) |
| 9 |
(type $ct_sub (;7;) (sub $ct1 (cont $ft3))) |
| 10 |
(type (;8;) (func (param (ref $ct1) (ref $ct_sub)))) |
| 11 |
(func $test (;0;) (type 8) (param $p1 (ref $ct1)) (param $p2 (ref $ct_sub)) |
| 12 |
(local.set $p1 |
| 13 |
(local.get $p2)) |
| 14 |
) |
| 15 |
) |