blob: 261c4e16405b2e2bb92a6b56605b8da6becdbd62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
(module
(import "env" "g1" (global $g1 i32))
(import "env" "g2" (global $g2 i32))
(table $tbl 1 funcref)
(elem (offset (global.get $g1)) funcref (ref.func $f))
(memory 3)
(data (offset (global.get $g2)) "xxx")
(export "f" (func $f))
(func $f (param i32)
(call_indirect (param i32) (local.get 0) (i32.load8_u (i32.const 0))))
)
|