blob: a5694e863ac8fd5dd34151f873b21773814ccbc8 [file] [log] [blame] [edit]
(module
(type $0 (func (param i32)))
(import "env" "g1" (global $g1 i32))
(import "env" "g2" (global $g2 i32))
(memory $0 3)
(data $0 (global.get $g2) "xxx")
(table $tbl 1 funcref)
(elem $0 (global.get $g1) $f)
(export "f" (func $f))
(func $f (type $0) (param $0 i32)
(call_indirect $tbl (type $0)
(local.get $0)
(i32.load8_u
(i32.const 0)
)
)
)
)