char_array_constructor_2.f90

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

F90
15
字号
! { dg-do compile }! Tests the fix for PR30319, in which the use of the parameter 'aa' in! the array constructor that initialises bb would cause an internal! error in resolution.!! Contributed by Vivek Rao <vivekrao4@yahoo.com>!module foomod  character (len=1), parameter :: aa = "z", bb(1) = (/aa/)end module foomod  use foomod  print *, aa, bbend! { dg-final { cleanup-modules "foomod" } }

⌨️ 快捷键说明

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