Debian Codegraph @

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

raw
1 (module
2 (rec
3 (type $f11 (;0;) (sub (func (result (ref func)))))
4 (type $f12 (;1;) (sub $f11 (func (result (ref $f11)))))
5 )
6 (rec
7 (type $f21 (;2;) (sub (func (result (ref func)))))
8 (type $f22 (;3;) (sub $f21 (func (result (ref $f21)))))
9 )
10 (rec
11 (type $g11 (;4;) (sub $f11 (func (result (ref func)))))
12 (type $g12 (;5;) (sub $g11 (func (result (ref $g11)))))
13 )
14 (rec
15 (type $g21 (;6;) (sub $f21 (func (result (ref func)))))
16 (type $g22 (;7;) (sub $g21 (func (result (ref $g21)))))
17 )
18 (global (;0;) (ref $f11) ref.func $g11)
19 (global (;1;) (ref $f21) ref.func $g11)
20 (global (;2;) (ref $f11) ref.func $g12)
21 (global (;3;) (ref $f21) ref.func $g12)
22 (global (;4;) (ref $g11) ref.func $g11)
23 (global (;5;) (ref $g21) ref.func $g11)
24 (global (;6;) (ref $g12) ref.func $g12)
25 (global (;7;) (ref $g22) ref.func $g12)
26 (func $g11 (;0;) (type $g11) (result (ref func))
27 unreachable
28 )
29 (func $g12 (;1;) (type $g12) (result (ref $g11))
30 unreachable
31 )
32 )