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