Debian Codegraph @

tests/snapshots/cli/component-model/alias.wast/2.print

raw
1 (component
2 (core type (;0;)
3 (module
4 (type (;0;) (func))
5 (export "f1" (func (type 0)))
6 (type (;1;) (func (param i32)))
7 (export "f2" (func (type 1)))
8 )
9 )
10 (import "i" (core module $m (;0;) (type 0)))
11 (core instance $i (;0;) (instantiate $m))
12 (core module $m2 (;1;)
13 (type (;0;) (func))
14 (import "" "" (func (;0;) (type 0)))
15 )
16 (alias core export $i "f1" (core func (;0;)))
17 (core instance (;1;)
18 (export "" (func 0))
19 )
20 (core instance (;2;) (instantiate $m2
21 (with "" (instance 1))
22 )
23 )
24 )