| 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 |
(import "test" "table64-10-inf" (table $tab64 (;1;) i64 10 funcref)) |
| 6 |
(export "call" (func 0)) |
| 7 |
(elem (;0;) (table $tab) (i32.const 1) func $f $g) |
| 8 |
(func (;0;) (type 1) (param i32) (result i32) |
| 9 |
local.get 0 |
| 10 |
call_indirect (type 0) |
| 11 |
) |
| 12 |
(func $f (;1;) (type 0) (result i32) |
| 13 |
i32.const 11 |
| 14 |
) |
| 15 |
(func $g (;2;) (type 0) (result i32) |
| 16 |
i32.const 22 |
| 17 |
) |
| 18 |
) |