summaryrefslogtreecommitdiff
path: root/test/ctor-eval/imported-global-2.wast.out
blob: 0347b4970c33253948dbab0b26af73db0cc951a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
(module
 (type $0 (func (result i32)))
 (import "env" "imported" (global $imported i32))
 (memory $0 256 256)
 (export "test1" (func $0))
 (export "keepalive" (func $1))
 (func $0 (type $0) (result i32)
  (local $temp i32)
  (local.set $temp
   (global.get $imported)
  )
  (i32.store8
   (i32.const 13)
   (i32.const 115)
  )
  (local.get $temp)
 )
 (func $1 (type $0) (result i32)
  (drop
   (i32.load
    (i32.const 13)
   )
  )
  (global.get $imported)
 )
)