summaryrefslogtreecommitdiff
path: root/test/binaryen.js/global.js.txt
blob: fb3e93dfebb9968f70838c150e538c3a2e67c35a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
GetGlobal is equal: true
getGlobalInfo={"module":"","base":"","mutable":false}
getExpressionInfo(init)={"id":14,"value":1}
(i32.const 1)

(module
 (import "module" "base" (global $a-global-imp i32))
 (global $a-global i32 (i32.const 1))
 (export "a-global-exp" (global $a-global))
)

(module
 (import "module" "base" (global $a-global-imp i32))
)