tests/snapshots/testsuite/proposals/wasm-3.0/memory-multi.wast/0.print
raw| 1 | (module |
| 2 | (type (;0;) (func (result i32))) |
| 3 | (memory $mem1 (;0;) 1) |
| 4 | (memory $mem2 (;1;) 1) |
| 5 | (export "init1" (func 0)) |
| 6 | (export "init2" (func 1)) |
| 7 | (func (;0;) (type 0) (result i32) |
| 8 | i32.const 1 |
| 9 | i32.const 0 |
| 10 | i32.const 4 |
| 11 | memory.init $d |
| 12 | i32.const 1 |
| 13 | i32.load |
| 14 | ) |
| 15 | (func (;1;) (type 0) (result i32) |
| 16 | i32.const 1 |
| 17 | i32.const 4 |
| 18 | i32.const 4 |
| 19 | memory.init $mem2 $d |
| 20 | i32.const 1 |
| 21 | i32.load $mem2 |
| 22 | ) |
| 23 | (data $d (;0;) "\01\00\00\00\02\00\00\00") |
| 24 | ) |