Debian Codegraph @

tests/snapshots/testsuite/proposals/wasm-3.0/elem.wast/148.print

raw
1 (module
2 (type (;0;) (func (result i32)))
3 (type (;1;) (func (param i32) (result i32)))
4 (import "spectest" "global_i32" (global (;0;) i32))
5 (table (;0;) 10 funcref)
6 (export "call_in_table" (func 1))
7 (elem (;0;) (table 0) (offset i32.const 2 global.get 0 i32.const 665 i32.sub i32.const 2 i32.add i32.mul) funcref (ref.func 0))
8 (func (;0;) (type 0) (result i32)
9 i32.const 42
10 )
11 (func (;1;) (type 1) (param i32) (result i32)
12 local.get 0
13 call_indirect (type 0)
14 )
15 )