Debian Codegraph @

tests/snapshots/cli/function-references/call_ref/call_ref.wast/29.print

raw
1 (module
2 (type $t (;0;) (func (param i32) (result i32)))
3 (type (;1;) (func (result i32)))
4 (export "unreachable" (func 1))
5 (elem (;0;) declare func $f)
6 (func $f (;0;) (type $t) (param i32) (result i32)
7 local.get 0
8 )
9 (func (;1;) (type 1) (result i32)
10 unreachable
11 i32.const 0
12 ref.func $f
13 call_ref $t
14 drop
15 i32.const 0
16 )
17 )