signature.wat (286B)
1 (module 2 (type $wanted (func (result i32))) 3 (type $actual (func (param i32) (result i32))) 4 (table 1 funcref) 5 (func $target (type $actual) 6 local.get 0) 7 (elem (i32.const 0) $target) 8 (func (export "test_main") (result i32) 9 i32.const 0 10 call_indirect (type $wanted)))