tests/snapshots/cli/folding/fold-call-import-gen-names.wast/0.print
raw| 1 | (module |
| 2 | (type (;0;) (func (param i32) (result i32))) |
| 3 | (type (;1;) (func (param i64) (result i32))) |
| 4 | (type (;2;) (func (result i32))) |
| 5 | (import "a" "b" (func (;0;) (type 0))) |
| 6 | (export "c" (func 1)) |
| 7 | (func (;1;) (type 1) (param i64) (result i32) |
| 8 | local.get 0 |
| 9 | i32.wrap_i64 |
| 10 | ) |
| 11 | (func (;2;) (type 2) (result i32) |
| 12 | i32.const 1 |
| 13 | call 0 |
| 14 | i32.const 2 |
| 15 | call 0 |
| 16 | i32.add |
| 17 | i64.const 3 |
| 18 | call 1 |
| 19 | drop |
| 20 | ) |
| 21 | ) |