blob: 4f3115a7efc6daa3606217b59f1b1f855366c756 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
(module
(type $0 (func))
(type $1 (func (result funcref)))
(import "env" "f2" (func $f2 (type $0)))
(import "env" "f1" (func $f1 (type $0)))
(global $g funcref (ref.func $f1))
(elem declare func $f2)
(export "g" (global $g))
(export "f" (func $f))
(func $f (type $1) (result funcref)
(ref.func $f2)
)
)
|