Debian Codegraph @

tests/cli/function-reference-structural-matching.wast

raw
1 ;; RUN: wast --assert default --snapshot tests/snapshots %
2
3 (module
4 (type $t1 (func))
5
6 (type $t2_a (func (param (ref $t1) (ref $t1))))
7
8 (type $t2_b (func (param (ref $t1) (ref $t1))))
9
10 (func $f (param (ref $t2_a))
11 nop
12 )
13
14 (func $g (param (ref $t2_b))
15 local.get 0
16 call $f
17 )
18 )