blob: 4ea4c164433adf8665da5edd1407d1cc90fcb765 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
(module
(type $0 (func))
(type $1 (func (param i32)))
(import "env" "waka" (func $foo))
(import "env" "waka" (func $wrong (param i32)))
(table $0 2 2 funcref)
(elem $0 (i32.const 0) $foo $foo)
(export "baz" (func $baz))
(start $foo)
(func $baz
(call $foo)
(call $foo)
(call $wrong
(i32.const 1)
)
)
)
|