Debian Codegraph @

tests/cli/memory-discard.wast

raw
1 ;; RUN: wast --assert default --snapshot tests/snapshots % -f memory-control
2
3 (module
4 (memory $m i32 2)
5
6 (func
7 (memory.discard (i32.const 0) (i32.const 65536))
8 )
9 (func
10 (memory.discard $m (i32.const 0) (i32.const 65536))
11 )
12
13 (func
14 (memory.discard 0 (i32.const 0) (i32.const 65536))
15 )
16 )