blob: 117695077f02aa8b81705f1e05661128e3f56f9a [file] [log] [blame] [edit]
(module
(type $FUNCSIG$aa (func (param anyref) (result anyref)))
(import "env" "test2" (global $test2 anyref))
(import "env" "test1" (func $test1 (param anyref) (result anyref)))
(memory $0 1 1)
(export "test1" (func $test1))
(export "test2" (global $test2))
(func $anyref_test (; 1 ;) (type $FUNCSIG$aa) (param $0 anyref) (result anyref)
(local $1 anyref)
(local.set $1
(call $test1
(local.get $0)
)
)
(return
(local.get $1)
)
)
)