Files: fc3efb6d1a8e5ef2e4cbd0017fa9649b221b8793 / tests / wast / memory.wast
405 bytesRaw
1 | (module |
2 | (import "memory" "externalize" (func $externalize (param i32 i32) (result i32))) |
3 | (import "memory" "internalize" (func $internalize (param i32 i32 i32 i32))) |
4 | (memory (export "memory") 1) |
5 | (data (i32.const 0) "test") |
6 | (func $test |
7 | i32.const 0 |
8 | i32.const 4 |
9 | call $externalize |
10 | i32.const 0 |
11 | i32.const 5 |
12 | i32.const 4 |
13 | call $internalize |
14 | ) |
15 | (export "test" (func $test))) |
16 |
Built with git-ssb-web