summaryrefslogtreecommitdiff
path: root/test/mutable-global.wast.fromBinary
blob: 04be75288e7abf528ce601f564a0d7ec8629f18f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
(module
 (type $none_=>_none (func))
 (import "env" "global-mut" (global $global-mut (mut i32)))
 (func $foo
  (global.set $global-mut
   (i32.add
    (global.get $global-mut)
    (i32.const 1)
   )
  )
 )
)