function_kinds_2.f90
来自「用于进行gcc测试」· F90 代码 · 共 22 行
F90
22 行
! Tests the fix for PR33334, in which the TYPE in the function! declaration cannot be legally accessed.!! Contributed by Tobias Burnus <burnus@gcc.gnu.org>!module types implicit none type t integer :: i = 99 end type tend modulemodule x use types interface type(t) function bar() ! { dg-error "is not accessible" } end function end interfaceend module! { dg-final { cleanup-modules "types x" } }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?