Files: 225da49428f17d7ef0fc980e3dbd3cda8967ae99 / 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