tests/snapshots/cli/folding/fold-stack-switching-gc.wast/10.print-folded
raw| 1 | (module $subtyping-resume1 |
| 2 | (type $ft0 (;0;) (func)) |
| 3 | (type $ct0 (;1;) (cont $ft0)) |
| 4 | (type (;2;) (func (param (ref $ft0)))) |
| 5 | (type (;3;) (func (param (ref $ct0)))) |
| 6 | (type (;4;) (func (result (ref func) (ref $ct0)))) |
| 7 | (tag $t (;0;) (type 2) (param (ref $ft0))) |
| 8 | (func $test0 (;0;) (type 3) (param $p (ref $ct0)) |
| 9 | (block $handler (type 4) (result (ref func) (ref $ct0)) |
| 10 | (resume $ct0 (on $t $handler) |
| 11 | (local.get $p)) |
| 12 | (return)) |
| 13 | (unreachable) |
| 14 | ) |
| 15 | ) |