func_decl_3.f90

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

F90
16
字号
! { dg-do compile }! Tests the fix for PR24325 in which the lack of any declaration! that foo is a function or even a procedure was not detected.!! Contributed by Jakub Jelinek <jakub@gcc.gnu.org>!  integer foo  call testcontains  subroutine test    integer :: i    i = foo () ! { dg-error "is not a function" }  end subroutine testend

⌨️ 快捷键说明

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