| 1 |
(module |
| 2 |
(type $out-i32 (;0;) (func (result i32))) |
| 3 |
(table (;0;) 11 funcref) |
| 4 |
(export "call-7" (func 2)) |
| 5 |
(export "call-9" (func 3)) |
| 6 |
(elem (;0;) (i32.const 6) funcref (ref.null func) (ref.func $const-i32-a)) |
| 7 |
(elem (;1;) (i32.const 9) funcref (ref.func $const-i32-b) (ref.null func)) |
| 8 |
(func $const-i32-a (;0;) (type $out-i32) (result i32) |
| 9 |
i32.const 65 |
| 10 |
) |
| 11 |
(func $const-i32-b (;1;) (type $out-i32) (result i32) |
| 12 |
i32.const 66 |
| 13 |
) |
| 14 |
(func (;2;) (type $out-i32) (result i32) |
| 15 |
i32.const 7 |
| 16 |
call_indirect (type $out-i32) |
| 17 |
) |
| 18 |
(func (;3;) (type $out-i32) (result i32) |
| 19 |
i32.const 9 |
| 20 |
call_indirect (type $out-i32) |
| 21 |
) |
| 22 |
) |