(module $anyref_global_of_i31ref (type (;0;) (func (result i32 i32))) (type (;1;) (func (param i32))) (global $c (;0;) (ref null (shared any)) i32.const 1234 ref.i31_shared) (global $m (;1;) (mut (ref null (shared any))) i32.const 5678 ref.i31_shared) (export "get_globals" (func 0)) (export "set_global" (func 1)) (func (;0;) (type 0) (result i32 i32) global.get $c ref.cast (ref null (shared i31)) i31.get_u global.get $m ref.cast (ref null (shared i31)) i31.get_u ) (func (;1;) (type 1) (param i32) local.get 0 ref.i31_shared global.set $m ) )