namelist_5.f90
来自「用于进行gcc测试」· F90 代码 · 共 13 行
F90
13 行
! { dg-do compile }! Tests the fix for PR25054 in which namelist objects with non-constant! shape were allowed.!! Contributed by Joost VandeVondele <jv244@cam.ac.uk>!SUBROUTINE S1(I) integer :: a,b(I) NAMELIST /NLIST/ a,b ! { dg-error "must have constant shape" } a=1 ; b=2 write(6,NML=NLIST)END SUBROUTINE S1END
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?