pure_formal_proc_1.f90

来自「用于进行gcc测试」· F90 代码 · 共 17 行

F90
17
字号
! { dg-do compile }! Test fix for PR30034 in which the legal, pure procedure formal! argument was rejected as an error.!! Contgributed by Troban Trumsko <trumsko@yahoo.com>! pure subroutine s_one ( anum, afun )    integer, intent(in) :: anum    interface      pure function afun (k) result (l)        implicit none        integer, intent(in) :: k        integer :: l      end function afun    end interfaceend subroutine s_one

⌨️ 快捷键说明

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