tests/snapshots/cli/function-reference-structural-matching.wast/0.print
raw| 1 | (module |
| 2 | (type $t1 (;0;) (func)) |
| 3 | (type $t2_a (;1;) (func (param (ref $t1) (ref $t1)))) |
| 4 | (type $t2_b (;2;) (func (param (ref $t1) (ref $t1)))) |
| 5 | (type (;3;) (func (param (ref $t2_a)))) |
| 6 | (type (;4;) (func (param (ref $t2_b)))) |
| 7 | (func $f (;0;) (type 3) (param (ref $t2_a)) |
| 8 | nop |
| 9 | ) |
| 10 | (func $g (;1;) (type 4) (param (ref $t2_b)) |
| 11 | local.get 0 |
| 12 | call $f |
| 13 | ) |
| 14 | ) |