typed_subroutine_1.f90

来自「linux下编程用 编译软件」· F90 代码 · 共 12 行

F90
12
字号
! { dg-do compile }! Tests the fix for 20858, in which the compiler failed to detect that! a called object had a type.!! Contributed by Joost VandeVondele  <jv244@cam.ac.uk>! INTEGER :: S ! { dg-error "has a type, which is not consistent with the CALL " } CALL S()     ! { dg-error "has a type, which is not consistent with the CALL " } END SUBROUTINE S END SUBROUTINE

⌨️ 快捷键说明

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