(module (type $t (;0;) (struct)) (type (;1;) (func (param (ref any)) (result (ref $t)))) (type (;2;) (func (param anyref) (result (ref $t)))) (type (;3;) (func (param anyref) (result (ref null $t)))) (func (;0;) (type 1) (param (ref any)) (result (ref $t)) block (result (ref any)) ;; label = @1 local.get 0 br_on_cast 1 (ref any) (ref $t) end unreachable ) (func (;1;) (type 2) (param anyref) (result (ref $t)) block (result anyref) ;; label = @1 local.get 0 br_on_cast 1 anyref (ref $t) end unreachable ) (func (;2;) (type 3) (param anyref) (result (ref null $t)) block (result anyref) ;; label = @1 local.get 0 br_on_cast 1 anyref (ref null $t) end unreachable ) )