tests/snapshots/testsuite/proposals/wasm-3.0/elem.wast/103.print
raw| 1 | (module |
| 2 | (type $out-i32 (;0;) (func (result i32))) |
| 3 | (table (;0;) 10 funcref) |
| 4 | (export "call-overwritten" (func 2)) |
| 5 | (elem (;0;) (i32.const 9) func $const-i32-a) |
| 6 | (elem (;1;) (i32.const 9) func $const-i32-b) |
| 7 | (func $const-i32-a (;0;) (type $out-i32) (result i32) |
| 8 | i32.const 65 |
| 9 | ) |
| 10 | (func $const-i32-b (;1;) (type $out-i32) (result i32) |
| 11 | i32.const 66 |
| 12 | ) |
| 13 | (func (;2;) (type $out-i32) (result i32) |
| 14 | i32.const 9 |
| 15 | call_indirect (type $out-i32) |
| 16 | ) |
| 17 | ) |