sibling_dummy_procedure_1.f90

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

F90
35
字号
! { dg-do compile }! This checks the fix for PR 26041.!! Contributed by H.J. Lu  <hongjiu.lu@intel.com>module foo   public    bar_   interface bar_      module procedure bar   end interface   public    xxx_   interface xxx_      module procedure xxx   end interfacecontains   subroutine bar(self, z)      interface         function self(z) result(res)        real z            real(kind=kind(1.0d0)) :: res         end function      end interface   end subroutine   subroutine xxx(self,z)      interface         function self(z) result(res)        real z            real(kind=kind(1.0d0)) :: res         end function      end interface      call bar(self, z)   end subroutineend! { dg-final { cleanup-modules "foo" } }

⌨️ 快捷键说明

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