interface_proc_end.f90
来自「用于进行gcc测试」· F90 代码 · 共 20 行
F90
20 行
! { dg-do compile}!! PR fortran/34763! Before, gfortran did not allow for the "END" in! the interface, which is no module procedure.!! Test case contributed by Dick Hendrickson! module n contains subroutine n_interface INTERFACE SUBROUTINE NGSXDY(TLS1,TLS2) REAL :: TLS1,TLS2 END ! OK END INTERFACE end ! { dg-error "END SUBROUTINE statement" } end module ! { dg-error "END SUBROUTINE statement" }! { dg-error "Unexpected end of file" "" { target "*-*-*" } 0 }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?