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