blob: fbf74868e0dbcb0233b2e84d12bd111d976236d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
(module
(type $v (func))
(import "env" "_abort" (func $_abort (type $v)))
(memory $0 256 256)
(data $0 (i32.const 10) "waka waka waka waka waka")
(table $0 2 2 funcref)
(elem $0 (i32.const 0) $_abort $call-indirect)
(export "test1" (func $test1))
(func $test1 (type $v)
(call_indirect $0 (type $v)
(i32.const 0)
)
(i32.store8
(i32.const 20)
(i32.const 120)
)
)
(func $call-indirect (type $v)
(i32.store8
(i32.const 40)
(i32.const 67)
)
)
)
|