intent_used_1.f90
来自「linux下编程用 编译软件」· F90 代码 · 共 18 行
F90
18 行
! { dg-do compile }! Tests the fix for the regression caused by the patch for PR20869! which itself is tested and described by intrinsic_external_1.f90!! reported to the fortran list by Dominique Dhumieres dominiq@lps.ens.frMODULE global INTERFACE SUBROUTINE foo(i, j) IMPLICIT NONE INTEGER :: j integer, DIMENSION(j,*) :: i ! This constituted usage of j and so triggered.... INTENT (IN) j ! Would give "Cannot change attributes of symbol at (1) after it has been used" INTENT (INOUT) i END SUBROUTINE foo END INTERFACEEND MODULE global
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?