| 1 |
(module $Nt |
| 2 |
(type (;0;) (func)) |
| 3 |
(type (;1;) (func (result i32))) |
| 4 |
(type (;2;) (func (param i32) (result i32))) |
| 5 |
(import "Mt" "call" (func $f (;0;) (type 2))) |
| 6 |
(import "Mt" "h" (func $h (;1;) (type 1))) |
| 7 |
(table (;0;) 5 5 funcref) |
| 8 |
(export "Mt.call" (func $f)) |
| 9 |
(export "call Mt.call" (func 3)) |
| 10 |
(export "call" (func 4)) |
| 11 |
(elem (;0;) (table 0) (i32.const 0) func $g $g $g $h $f) |
| 12 |
(func $g (;2;) (type 1) (result i32) |
| 13 |
i32.const 5 |
| 14 |
) |
| 15 |
(func (;3;) (type 2) (param i32) (result i32) |
| 16 |
local.get 0 |
| 17 |
call $f |
| 18 |
) |
| 19 |
(func (;4;) (type 2) (param i32) (result i32) |
| 20 |
local.get 0 |
| 21 |
call_indirect (type 1) |
| 22 |
) |
| 23 |
) |