| 1 |
(module |
| 2 |
(type $ft0 (;0;) (func (result i32))) |
| 3 |
(type $ct0 (;1;) (cont $ft0)) |
| 4 |
(type $ft1 (;2;) (func (param i32) (result i32))) |
| 5 |
(type $ct1 (;3;) (cont $ft1)) |
| 6 |
(type $ft2 (;4;) (func (param i64 i32) (result i32))) |
| 7 |
(type $ct2 (;5;) (cont $ft2)) |
| 8 |
(type (;6;) (func (param (ref null $ct1)) (result (ref $ct0)))) |
| 9 |
(type (;7;) (func (param (ref $ct2)) (result (ref $ct1)))) |
| 10 |
(type (;8;) (func (param (ref $ct1)) (result (ref $ct1)))) |
| 11 |
(func $test1 (;0;) (type 6) (param $p_ct1 (ref null $ct1)) (result (ref $ct0)) |
| 12 |
i32.const 123 |
| 13 |
local.get $p_ct1 |
| 14 |
cont.bind $ct1 $ct0 |
| 15 |
) |
| 16 |
(func $test2 (;1;) (type 7) (param $p_ct2 (ref $ct2)) (result (ref $ct1)) |
| 17 |
i64.const 123 |
| 18 |
local.get $p_ct2 |
| 19 |
cont.bind $ct2 $ct1 |
| 20 |
) |
| 21 |
(func $test3 (;2;) (type 8) (param $p_ct1 (ref $ct1)) (result (ref $ct1)) |
| 22 |
local.get $p_ct1 |
| 23 |
cont.bind $ct1 $ct1 |
| 24 |
) |
| 25 |
) |