📄 used_types_14.f90
字号:
! { dg-do compile }! Tests the fix for PR30531 in which the interface derived types! was not being associated.!! Contributed by Salvatore Filippone <sfilippone@uniroma2.it>!module foo_type_mod type foo_type integer, allocatable :: md(:) end type foo_typeend module foo_type_modmodule foo_mod interface subroutine foo_initvg(foo_a) use foo_type_mod Type(foo_type), intent(out) :: foo_a end subroutine foo_initvg end interfacecontains subroutine foo_ext(foo_a) use foo_type_mod Type(foo_type) :: foo_a call foo_initvg(foo_a) end subroutine foo_extend module foo_mod! { dg-final { cleanup-modules "foo_type_mod foo_mod" } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -