summaryrefslogtreecommitdiff
path: root/test/ctor-eval/ignore-external-input-gc.wast.out
blob: 0b45f89d6e47fd9117bdac7c7d9892fbce414569 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
(module
 (type $ref|any|_=>_none (func (param (ref any))))
 (type $none_=>_i32 (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 $ref|any|_=>_none) (param $any (ref any))
  (global.set $global2
   (i32.const 22)
  )
 )
 (func $2 (type $none_=>_i32) (result i32)
  (i32.add
   (global.get $global1)
   (global.get $global2)
  )
 )
)