summaryrefslogtreecommitdiff
path: root/test/mutable-global.wast.fromBinary
blob: 1a4730a1e454c49906aa824d2d7dbc221d61919a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
(module
 (type $0 (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)
   )
  )
 )
)