! This is the testcase from PR 12841. We used to report a type/rank mismatch! when passing NULL() as an argument to a function.MODULE TPUBLIC::ACONTAINS SUBROUTINE A(B)REAL,POINTER::BIF(ASSOCIATED(B))CALL ABORT()END SUBROUTINE AEND MODULE TUSE TCALL A(NULL())END