shape_1.f90

来自「Mac OS X 10.4.9 for x86 Source Code gcc」· F90 代码 · 共 7 行

F90
7
字号
! { dg-do compile }! PR 13201 we used to not give an error in those casessubroutine foo(n)   integer, parameter :: a(n) = 1 ! { dg-error "cannot be automatic" "automatic shape" }  integer, parameter :: z(:) = (/ 1,2,3 /) ! { dg-error "cannot be automatic" "assumed shape" }end subroutine

⌨️ 快捷键说明

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