module_parameter_array_refs_1.f90

来自「用于进行gcc测试」· F90 代码 · 共 15 行

F90
15
字号
! { dg-do compile }! Tests the fix for 26074, in which the array reference below would! be determined not to be constant within modules.!! Contributed by Jonathan Dursi  <ljdursi@cita.utoronto.ca>!module foo   integer, parameter :: len = 5   integer :: arr(max(len,1))end! { dg-final { cleanup-modules "foo" } }

⌨️ 快捷键说明

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