Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gfortran.fortran-torture / execute / where21.f90
blob6826b87b688f28cdb550ce46cf0eaf000991fcd8
1 ! { dg-do run }
2 ! Test fix for PR fortran/30207.
3 program a
4 implicit none
5 integer, parameter :: i(4) = (/ 1, 1, 1, 1 /)
6 integer :: z(4) = (/ 1, 1, -1, -1 /)
7 where(z < 0) z(:) = 1
8 if (any(z /= i)) call abort
9 end program a