view gcc/testsuite/gfortran.dg/array_constructor_35.f90 @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 04ced10e8804
children
line wrap: on
line source

! { dg-do compile }
! PR42999  bogus error: Parameter 'i' at (1) has not been declared
! or is a variable, which does not reduce to a constant expression
 TYPE DD
  INTEGER :: I
 END TYPE DD
 TYPE(DD) :: X(2)=(/(DD(I),I=1,2)/)
 END