blob: bc276175e2a41f4ddb1cc26b73ba82d34ac2aec0 [file] [edit]
(module
(type $0 (func (result i32)))
(import "env" "imported" (global $imported i32))
(memory $0 256 256)
(export "test1" (func $test1))
(export "keepalive" (func $keepalive))
(func $test1 (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 $keepalive (type $0) (result i32)
(drop
(i32.load
(i32.const 13)
)
)
(global.get $imported)
)
)