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