missing_derived_type_1.f90

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

F90
15
字号
! { dg-do compile }! Tests the fix for PR29364, in which the the absence of the derived type! 'nonexist' was not diagnosed.!! Contributed by Tobias Burnus  <tobias.burnus@physik.fu-berlin.de>!module test  implicit none  type epot_t    integer :: c    type(nonexist),pointer :: l ! { dg-error "has not been declared" }  end type epot_tend module test! { dg-final { cleanup-modules "test" } }

⌨️ 快捷键说明

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