blob: 09758b90d7688567506205abdc9f9433409ddaef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
(module
(type $FUNCSIG$v (func))
(type $FUNCSIG$iid (func (param i32 f64) (result i32)))
(import "env" "table" (table $0 9 9 funcref))
(export "call_indirect" (func $0))
(func $0 (; 0 ;) (type $FUNCSIG$v)
(drop
(call_indirect (type $FUNCSIG$iid)
(i32.const 10)
(f64.const 20)
(i32.const 30)
)
)
(call_indirect (type $FUNCSIG$v)
(i32.const 1)
)
)
)
|