tests/snapshots/cli/component-model/resources.wast/3.print
raw| 1 | (component |
| 2 | (core module $m (;0;) |
| 3 | (type (;0;) (func (param i32))) |
| 4 | (export "dtor" (func 0)) |
| 5 | (func (;0;) (type 0) (param i32)) |
| 6 | ) |
| 7 | (core instance $m (;0;) (instantiate $m)) |
| 8 | (alias core export $m "dtor" (core func (;0;))) |
| 9 | (type $x (;0;) (resource (rep i32) (dtor (func 0)))) |
| 10 | (core func (;1;) (canon resource.new $x)) |
| 11 | ) |