Files: 609307921c4c0a7292513248cc13f16b199ec5f0 / 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