blob: c1ead5c7975e2b4019c7aa5e14eac50b719bdf8a [file] [log] [blame]
(module
(type $legaltype$illegalImportResult (func (result i32)))
(import "env" "illegalImportResult" (func $legalimport$illegalImportResult (result i32)))
(global $tempRet0 (mut i32) (i32.const 0))
(export "illegalResult" (func $legalstub$illegalResult))
(export "imports" (func $imports))
(func $imports (; 1 ;) (result i32)
(i32.wrap/i64
(i64.or
(i64.extend_u/i32
(call $legalimport$illegalImportResult)
)
(i64.shl
(i64.extend_u/i32
(get_global $tempRet0)
)
(i64.const 32)
)
)
)
)
(func $legalstub$illegalResult (; 2 ;) (result i32)
(set_global $tempRet0
(i32.const 2)
)
(i32.const 1)
)
)