proc_decl_7.f90

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

F90
22
字号
! { dg-do compile }! PR33162 INTRINSIC functions as ACTUAL argument! Test case adapted from PR by Jerry DeLisle <jvdelisle@gcc.gnu.org>module mimplicit nonecontains  subroutine sub(a)    interface      function a()        real :: a      end function a    end interface    print *, a()  end subroutine subend module muse mimplicit noneintrinsic coscall sub(cos) ! { dg-error "Type/rank mismatch in argument" }end! { dg-final { cleanup-modules "m" } }

⌨️ 快捷键说明

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