intent_out_4.f90

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

F90
19
字号
! { dg-do compile }!! PR fortran/34689!! The following (cf. libgomp.fortran/appendix-a/a.33.3.f90)! was rejected because the intent check missed a FL_FUNCTION! for the result variable.!function test()  implicit none  integer :: test  interface    subroutine foo(a)      integer, intent(inout) :: a    end subroutine foo  end interface  call foo(test)end function test

⌨️ 快捷键说明

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