fix pr/45972
[official-gcc.git] / gcc / testsuite / gfortran.dg / initialization_26.f90
blobd5bc93b4686abf0e52d3aa0c9eb397927ddf29e2
1 ! { dg-do "compile" }
3 ! Verify that the outer do-loop counter 'j' is accepted as
4 ! as end-expression of the inner loop.
7 integer i, j
8 integer, parameter :: n = size( [( [(i*j,i=1,j)], j=1,2)] )
9 end