summaryrefslogtreecommitdiff
path: root/test/passes/set-globals.wast
blob: 4af112883e14cf3d9e650f7f5dbec0b598b3dbd6 (plain)
1
2
3
4
5
6
7
(module
 ;; an imported i32
 (import "env" "in" (global $foo i32))

 ;; a defined i64
 (global $bar i64 (i64.const 1234))
)