blob: e3a360d455c7c5e0c676a0f5d507ad964b506de0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
(module
(type $FUNCSIG$v (func))
(type $FUNCSIG$i (func (result i32)))
(type $FUNCSIG$d (func (result f64)))
(import "somewhere" "waka" (func $waka))
(import "somewhere" "waka-ret" (func $waka-ret (result i32)))
(import "somewhere" "waka-ret-d" (func $waka-ret-d (result f64)))
(import "somewhere" "waka-sneaky" (func $waka-sneaky))
(import "env" "memBase" (global i32))
(import "env" "table" (table $table 1 1 funcref))
(memory 1024 1024)
(elem (i32.const 0) $waka-sneaky)
(func $nada (type $FUNCSIG$v)
(call $waka)
(drop
(call $waka-ret)
)
(drop
(call $waka-ret-d)
)
(call_indirect (i32.const 0))
)
)
|