Debian Codegraph @

tests/snapshots/cli/gc/type-subtyping.wast/7.print

raw
1 (module
2 (rec
3 (type $t1 (;0;) (sub (func (result i32 (ref $u1)))))
4 (type $u1 (;1;) (sub (func (result f32 (ref $t1)))))
5 )
6 (rec
7 (type $t2 (;2;) (sub $t1 (func (result i32 (ref $u3)))))
8 (type $u2 (;3;) (sub $u1 (func (result f32 (ref $t3)))))
9 (type $t3 (;4;) (sub $t1 (func (result i32 (ref $u2)))))
10 (type $u3 (;5;) (sub $u1 (func (result f32 (ref $t2)))))
11 )
12 (type (;6;) (func (param (ref $t1))))
13 (type (;7;) (func (param (ref $t2))))
14 (type (;8;) (func (param (ref $t3))))
15 (func $f1 (;0;) (type 6) (param $r (ref $t1))
16 local.get $r
17 call $f1
18 )
19 (func $f2 (;1;) (type 7) (param $r (ref $t2))
20 local.get $r
21 call $f1
22 local.get $r
23 call $f2
24 )
25 (func $f3 (;2;) (type 8) (param $r (ref $t3))
26 local.get $r
27 call $f1
28 local.get $r
29 call $f3
30 )
31 )