der_charlen_1.f90
来自「用于进行gcc测试」· F90 代码 · 共 27 行
F90
27 行
! { dg-do compile }! PR 18990! we used to ICE on these examplesmodule core type, public :: T character(len=I) :: str ! { dg-error "needs to be a constant specification expression" } end type T privateCONTAINS subroutine FOO(X) type(T), intent(in) :: X end subroutineend module coremodule another_core type :: T character(len=*) :: s ! { dg-error "needs to be a constant specification expr" } end type T privateCONTAINS subroutine FOO(X) type(T), intent(in) :: X end subroutineend module another_core! { dg-final { cleanup-modules "core another_core" } }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?