table_init_active.wat (256B)
1 (module 2 (type $ret_i32 (func (result i32))) 3 (func $target (type $ret_i32) 4 i32.const 42) 5 (table 1 funcref) 6 (elem $seg (i32.const 0) func $target) 7 (func (export "test_main") 8 i32.const 0 9 i32.const 0 10 i32.const 0 11 table.init $seg))