summaryrefslogtreecommitdiff
path: root/test/mutable-global.wast.fromBinary
blob: 7894cd2c6e564552f4f2d58cb48abd05796e3e24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
(module
 (type $0 (func))
 (import "env" "global-mut" (global $gimport$0 (mut i32)))
 (func $foo (; 0 ;) (type $0)
  (global.set $gimport$0
   (i32.add
    (global.get $gimport$0)
    (i32.const 1)
   )
  )
 )
)