summaryrefslogtreecommitdiff
path: root/test/mutable-global.wast.fromBinary
blob: c115bbd4c0652d8af92a2bd9c0524be98c78d1b4 (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 (type $0)
  (global.set $global-mut
   (i32.add
    (global.get $global-mut)
    (i32.const 1)
   )
  )
 )
)