tests/snapshots/cli/stack-switching/validation_gc.wast/5.print
raw| 1 | (module $non_final |
| 2 | (type $ft1 (;0;) (func (param i32) (result (ref func)))) |
| 3 | (type $ct1 (;1;) (sub (cont $ft1))) |
| 4 | (type $ft0 (;2;) (func (result (ref func)))) |
| 5 | (type $ct0 (;3;) (sub (cont $ft0))) |
| 6 | (type (;4;) (func (param (ref $ct1)))) |
| 7 | (func $test1 (;0;) (type 4) (param $x (ref $ct1)) |
| 8 | i32.const 123 |
| 9 | local.get $x |
| 10 | cont.bind $ct1 $ct0 |
| 11 | drop |
| 12 | ) |
| 13 | ) |