tests/snapshots/cli/component-model/resources.wast/52.print
raw| 1 | (component |
| 2 | (type $r' (;0;) (resource (rep i32))) |
| 3 | (instance $i' (;0;) |
| 4 | (export "r" (type $r')) |
| 5 | ) |
| 6 | (export $i (;1;) "i" (instance $i')) |
| 7 | (alias export $i "r" (type $r (;1;))) |
| 8 | (core func $f (;0;) (canon resource.drop $r)) |
| 9 | (type (;2;) (own $r)) |
| 10 | (type (;3;) (func (param "x" 2))) |
| 11 | (func (;0;) (type 3) (canon lift (core func $f))) |
| 12 | (export (;1;) "f" (func 0)) |
| 13 | ) |