(module (type (;0;) (func)) (type (;1;) (func (param externref))) (type (;2;) (func (param i32) (result externref))) (type (;3;) (func (param i32) (result funcref))) (type (;4;) (func (param i64) (result funcref))) (type (;5;) (func (param i32) (result i32))) (table $t2 (;0;) 2 externref) (table $t3 (;1;) 3 funcref) (table $t64 (;2;) i64 3 funcref) (export "init" (func 1)) (export "get-externref" (func 2)) (export "get-funcref" (func $f3)) (export "get-funcref-t64" (func $f4)) (export "is_null-funcref" (func 5)) (elem (;0;) (table $t3) (i32.const 1) func $dummy) (func $dummy (;0;) (type 0)) (func (;1;) (type 1) (param $r externref) i32.const 1 local.get $r table.set $t2 i32.const 2 i32.const 1 table.get $t3 table.set $t3 ) (func (;2;) (type 2) (param $i i32) (result externref) local.get $i table.get $t2 ) (func $f3 (;3;) (type 3) (param $i i32) (result funcref) local.get $i table.get $t3 ) (func $f4 (;4;) (type 4) (param $i i64) (result funcref) local.get $i table.get $t64 ) (func (;5;) (type 5) (param $i i32) (result i32) local.get $i call $f3 ref.is_null ) )