⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 intent_used_1.f90

📁 用于进行gcc测试
💻 F90
字号:
! { 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! { dg-final { cleanup-modules "global" } }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -