tests/snapshots/testsuite/imports.wast/78.print
raw| 1 | (module |
| 2 | (type (;0;) (func (result i32))) |
| 3 | (type (;1;) (func (param i32) (result i32))) |
| 4 | (import "spectest" "table" (table $tab (;0;) 10 20 funcref)) |
| 5 | (export "call" (func 0)) |
| 6 | (elem (;0;) (table $tab) (i32.const 1) func $f $g) |
| 7 | (func (;0;) (type 1) (param i32) (result i32) |
| 8 | local.get 0 |
| 9 | call_indirect (type 0) |
| 10 | ) |
| 11 | (func $f (;1;) (type 0) (result i32) |
| 12 | i32.const 11 |
| 13 | ) |
| 14 | (func $g (;2;) (type 0) (result i32) |
| 15 | i32.const 22 |
| 16 | ) |
| 17 | ) |