📄 namelist_5.f90
字号:
! { 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -