blob: c8bf7785cfb9a0d4eae3760d94a67fb9cc9a508c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
(module
(type $0 (func (result i32)))
(global $g1 (mut i32) (i32.const 50))
(global $g2 (mut i32) (i32.const 40))
(export "keepalive" (func $keepalive))
(func $keepalive (type $0) (result i32)
(i32.add
(global.get $g1)
(global.get $g2)
)
)
)
|