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