Files: 124610c716c1ba494bca1d28f39840fff9c2fa6b / tests / wast / funcRef_reciever.wast
303 bytesRaw
1 | (module |
2 | (import "func" "internalize" (func $internalize (param i32 i32))) |
3 | (table (export "table") 1 1 anyfunc) |
4 | (func $receive (param i32) |
5 | get_local 0 |
6 | i32.const 0 |
7 | call $internalize |
8 | i32.const 5 |
9 | i32.const 0 |
10 | call_indirect (param i32) |
11 | ) |
12 | (export "receive" (func $receive))) |
13 |
Built with git-ssb-web