modula2: Simplify REAL/LONGREAL/SHORTREAL node creation.
[official-gcc.git] / gcc / testsuite / gfortran.dg / array_constructor_5.f90
blob773128fada59d7ee2d225a879307a79dc2bfebe4
1 ! { dg-do run }
2 ! PR22327
3 program array_constructor
4 implicit none
5 integer :: a(6), i
6 i = 6
7 a = (/ 1, 2, 3, 4, 5, i /)
8 do i = 1, 6
9 if (a(i) /= i) STOP 1
10 end do
11 end program array_constructor