namelist_31.f90
来自「用于进行gcc测试」· F90 代码 · 共 18 行
F90
18 行
! { dg-do compile }! One of two tests for the fix of PR23152 - There used to be! no warning for assumed shape arrays in namelists.!! Conributed by Paul Thomas <pault@gcc.gnu.org>!program assumed_shape_nml real, dimension (10) :: z z = 42.0 call foo (z)contains subroutine foo (y) real, DIMENSION (:) :: y namelist /mynml/ y write (*, mynml) end subroutine fooend program assumed_shape_nml
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?