tests/snapshots/cli/stack-switching/cont_new.wast/0.print
raw| 1 | (module |
| 2 | (type $ft (;0;) (func)) |
| 3 | (type $ct (;1;) (cont $ft)) |
| 4 | (type (;2;) (func (result (ref $ct)))) |
| 5 | (type (;3;) (func (result i32))) |
| 6 | (export "f" (func $f)) |
| 7 | (elem (;0;) declare func $noop) |
| 8 | (func $noop (;0;) (type $ft)) |
| 9 | (func $make-cont (;1;) (type 2) (result (ref $ct)) |
| 10 | ref.func $noop |
| 11 | cont.new $ct |
| 12 | ) |
| 13 | (func $f (;2;) (type 3) (result i32) |
| 14 | call $make-cont |
| 15 | ref.is_null |
| 16 | ) |
| 17 | ) |