Files: 918662450986924c9a68f772d475dc794e4d7127 / 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