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