Files: fc3efb6d1a8e5ef2e4cbd0017fa9649b221b8793 / 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