Debian Codegraph @

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

raw
1 (module
2 (type $t0 (;0;) (sub (func (result funcref))))
3 (rec
4 (type $t1 (;1;) (sub $t0 (func (result (ref null $t1)))))
5 )
6 (rec
7 (type $t2 (;2;) (sub $t1 (func (result (ref null $t2)))))
8 )
9 (export "f0" (func 0))
10 (export "f1" (func 1))
11 (export "f2" (func 2))
12 (func (;0;) (type $t0) (result funcref)
13 ref.null func
14 )
15 (func (;1;) (type $t1) (result (ref null $t1))
16 ref.null $t1
17 )
18 (func (;2;) (type $t2) (result (ref null $t2))
19 ref.null $t2
20 )
21 )