tests/snapshots/cli/component-model-async/task-builtins.wast/27.print
raw| 1 | (component |
| 2 | (core module $m (;0;) |
| 3 | (type (;0;) (func (param i32) (result i32))) |
| 4 | (import "" "subtask.cancel" (func $subtask-cancel (;0;) (type 0))) |
| 5 | ) |
| 6 | (core func $subtask-cancel (;0;) (canon subtask.cancel)) |
| 7 | (core instance (;0;) |
| 8 | (export "subtask.cancel" (func $subtask-cancel)) |
| 9 | ) |
| 10 | (core instance $i (;1;) (instantiate $m |
| 11 | (with "" (instance 0)) |
| 12 | ) |
| 13 | ) |
| 14 | ) |