used_types_13.f90

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

F90
29
字号
! { dg-do compile }! Tests the fix for PR29820, which was another problem with derived type! association.  Not all siblings were being searched for identical types.!! Contributed by Harald Anlauf  <anlauf@gmx.de>!module geo  type geodetic     real :: h  end type geodeticend module geomodule gfcbug44  implicit nonecontainssubroutine point ( gp)  use geo  type(geodetic),  intent(out) :: gp  type(geodetic) :: gpx(1)  gp = gpx(1)end subroutine pointsubroutine plane ()  use geo  type(geodetic)  :: gp  call point ( gp)end subroutine planeend module gfcbug44! { dg-final { cleanup-modules "geo gfcbug44" } }

⌨️ 快捷键说明

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