(module (type $ft (;0;) (func)) (type $ct (;1;) (cont $ft)) (type (;2;) (func (param i32))) (type (;3;) (func (result i32))) (import "spectest" "print_i32" (func $print (;0;) (type 2))) (tag $h (;0;) (type $ft)) (export "f" (func $f)) (export "run" (func 2)) (func $f (;1;) (type $ft) suspend $h i32.const 2 call $print ) (func (;2;) (type 3) (result i32) i32.const 1 call $print block $on_h (result (ref $ct)) ref.func $f cont.new $ct resume $ct (on $h $on_h) unreachable end drop i32.const 3 call $print i32.const 42 return ) )