nested_modules_4.f90
来自「linux下编程用 编译软件」· F90 代码 · 共 26 行
F90
26 行
! { dg-do compile }!! Test for the fix to PR24409 - the name clash between the module! name and the interface formal argument would cause an ICE.!! Contributed by Paul Thomas <pault@gcc.gnu.org>!module string interface function lc(string ) character(len=*), intent(in) :: string character(len=len(string )) :: lc end function lc end interfaceend module stringmodule serial use stringend module serial use serial use string character*15 :: buffer buffer = lc ("Have a Nice DAY") end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?