Debian Codegraph @

tests/snapshots/cli/gc/type-subtyping.wast/34.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 (type (;4;) (func (result i32 i32 i32 i32)))
11 (export "run" (func 2))
12 (elem (;0;) declare func $f11)
13 (elem (;1;) declare func $f12)
14 (func $f11 (;0;) (type $f11) (result (ref func))
15 unreachable
16 )
17 (func $f12 (;1;) (type $f12) (result (ref $f11))
18 unreachable
19 )
20 (func (;2;) (type 4) (result i32 i32 i32 i32)
21 ref.func $f11
22 ref.test (ref $f11)
23 ref.func $f11
24 ref.test (ref $f21)
25 ref.func $f12
26 ref.test (ref $f12)
27 ref.func $f12
28 ref.test (ref $f22)
29 )
30 )