summaryrefslogtreecommitdiff
path: root/test/ctor-eval/ignore-external-input-gc.wast.out
blob: 9b10b808b7d52fdce9a76d777654864d0f0d11e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
(module
 (type $0 (func (param (ref any))))
 (type $1 (func (result i32)))
 (global $global1 (mut i32) (i32.const 11))
 (global $global2 (mut i32) (i32.const 20))
 (export "test2" (func $1))
 (export "keepalive" (func $2))
 (func $1 (type $0) (param $any (ref any))
  (global.set $global2
   (i32.const 22)
  )
 )
 (func $2 (type $1) (result i32)
  (i32.add
   (global.get $global1)
   (global.get $global2)
  )
 )
)