用于进行gcc测试

源代码在线查看: nullarg.f90

软件大小: 6330 K
上传用户: yhw002
关键词: gcc 测试
下载地址: 免注册下载 普通下载 VIP

相关代码

				! 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 T				   PUBLIC :: A				   CONTAINS				   SUBROUTINE A(B)				   REAL, POINTER :: B				   IF (ASSOCIATED(B)) CALL ABORT()				   END SUBROUTINE A				   END MODULE T				   USE T				   CALL A(NULL())				   END							

相关资源