2009-10-05 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / count_mask_1.f90
blobf9859fa2d0f168457560d6443501c284eb17ce25
1 ! { dg-do run }
2 ! PR 36590, PR 36681
3 program test
4 logical(kind=1),parameter :: t=.true.,f=.false.
5 logical(kind=1),dimension(9) :: hexa,hexb
6 data hexa/f,f,t,t,f,f,f,t,f/,hexb/f,t,f,f,f,t,t,f,f/
7 isum=count(hexa(1:9).eqv.hexb(1:9))
8 end program