(module $tables_of_i31ref (type (;0;) (func (result i32))) (type (;1;) (func (param i32) (result i32))) (type (;2;) (func (param i32 i32) (result i32))) (type (;3;) (func (param i32 i32 i32))) (table $table (;0;) 3 10 i31ref) (export "size" (func 0)) (export "get" (func 1)) (export "grow" (func 2)) (export "fill" (func 3)) (export "copy" (func 4)) (export "init" (func 5)) (elem (;0;) (table $table) (i32.const 0) i31ref (item i32.const 999 ref.i31) (item i32.const 888 ref.i31) (item i32.const 777 ref.i31)) (elem $elem (;1;) i31ref (item i32.const 123 ref.i31) (item i32.const 456 ref.i31) (item i32.const 789 ref.i31)) (func (;0;) (type 0) (result i32) table.size $table ) (func (;1;) (type 1) (param i32) (result i32) local.get 0 table.get $table i31.get_u ) (func (;2;) (type 2) (param i32 i32) (result i32) local.get 1 ref.i31 local.get 0 table.grow $table ) (func (;3;) (type 3) (param i32 i32 i32) local.get 0 local.get 1 ref.i31 local.get 2 table.fill $table ) (func (;4;) (type 3) (param i32 i32 i32) local.get 0 local.get 1 local.get 2 table.copy ) (func (;5;) (type 3) (param i32 i32 i32) local.get 0 local.get 1 local.get 2 table.init $elem ) )