Debian Codegraph @

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

raw
1 (module
2 (rec
3 (type $f1 (;0;) (sub (func)))
4 (type $s1 (;1;) (sub (struct (field (ref $f1)))))
5 )
6 (rec
7 (type $f2 (;2;) (sub (func)))
8 (type $s2 (;3;) (sub (struct (field (ref $f2)))))
9 )
10 (rec
11 (type $g1 (;4;) (sub $f1 (func)))
12 (type (;5;) (sub $s1 (struct (field (ref $f1)) (field (ref $f1)) (field (ref $f2)) (field (ref $f2)) (field (ref $g1)))))
13 )
14 (rec
15 (type $g2 (;6;) (sub $f2 (func)))
16 (type (;7;) (sub $s2 (struct (field (ref $f1)) (field (ref $f2)) (field (ref $f1)) (field (ref $f2)) (field (ref $g2)))))
17 )
18 (type (;8;) (func (result i32)))
19 (export "run" (func 1))
20 (elem (;0;) declare func $g)
21 (func $g (;0;) (type $g2))
22 (func (;1;) (type 8) (result i32)
23 ref.func $g
24 ref.test (ref $g1)
25 )
26 )