summaryrefslogtreecommitdiff
path: root/test/grow_memory.wast.fromBinary
blob: 13ce0d8234eee42eb60f1ec234af8d52a0b6cbda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(module
 (type $0 (func (param i32) (result i32)))
 (type $1 (func (result i32)))
 (memory $0 1)
 (export "memory" (memory $0))
 (export "grow" (func $0))
 (export "current" (func $1))
 (func $0 (; 0 ;) (type $0) (param $0 i32) (result i32)
  (grow_memory
   (get_local $0)
  )
 )
 (func $1 (; 1 ;) (type $1) (result i32)
  (current_memory)
 )
)