Debian Codegraph @

tests/snapshots/cli/component-model/resources.wast/53.print

raw
1 (component
2 (type $r' (;0;) (resource (rep i32)))
3 (instance $i' (;0;)
4 (export "r" (type $r'))
5 )
6 (instance $i2' (;1;)
7 (export "i" (instance $i'))
8 )
9 (export $i2 (;2;) "i2" (instance $i2'))
10 (alias export $i2 "i" (instance $i (;3;)))
11 (alias export $i "r" (type $r (;1;)))
12 (core func $f (;0;) (canon resource.drop $r))
13 (type (;2;) (own $r))
14 (type (;3;) (func (param "x" 2)))
15 (func (;0;) (type 3) (canon lift (core func $f)))
16 (export (;1;) "f" (func 0))
17 )