tests/snapshots/testsuite/proposals/wasm-3.0/linking.wast/65.print
raw| 1 | (module $Mt |
| 2 | (type (;0;) (func (result i32))) |
| 3 | (type (;1;) (func)) |
| 4 | (type (;2;) (func (param i32) (result i32))) |
| 5 | (table (;0;) 10 funcref) |
| 6 | (export "tab" (table 0)) |
| 7 | (export "h" (func 1)) |
| 8 | (export "call" (func 2)) |
| 9 | (elem (;0;) (i32.const 2) func $g $g $g $g) |
| 10 | (func $g (;0;) (type 0) (result i32) |
| 11 | i32.const 4 |
| 12 | ) |
| 13 | (func (;1;) (type 0) (result i32) |
| 14 | i32.const -4 |
| 15 | ) |
| 16 | (func (;2;) (type 2) (param i32) (result i32) |
| 17 | local.get 0 |
| 18 | call_indirect (type 0) |
| 19 | ) |
| 20 | ) |