| 1 |
;; RUN: wast --assert default,snapshot-folded --snapshot tests/snapshots % |
| 2 |
|
| 3 |
;;; WABT fold-bulk-memory.wat test (Copyright 2016- WebAssembly Community Group participants) |
| 4 |
(module |
| 5 |
(memory 1) |
| 6 |
(data "a") |
| 7 |
(func |
| 8 |
i32.const 0 i32.const 0 i32.const 0 memory.init 0 |
| 9 |
data.drop 0 |
| 10 |
i32.const 0 i32.const 0 i32.const 0 memory.copy |
| 11 |
i32.const 0 i32.const 0 i32.const 0 memory.fill |
| 12 |
) |
| 13 |
|
| 14 |
(table 1 funcref) |
| 15 |
(elem func 0) |
| 16 |
(func |
| 17 |
i32.const 0 i32.const 0 i32.const 0 table.init 0 |
| 18 |
elem.drop 0 |
| 19 |
i32.const 0 i32.const 0 i32.const 0 table.copy |
| 20 |
) |
| 21 |
) |